Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 67.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.319, allocations: 66.03 MB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003395/0.3224, allocations: 1.929 MB / 0.5625 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3235, allocations: 0.5932 MB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3236, allocations: 4 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.645e-05/0.3236, allocations: 19.78 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.3238, allocations: 39.66 kB / 0.5632 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.3241, allocations: 87.75 kB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3243, allocations: 151.5 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3245, allocations: 27.41 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3247, allocations: 75.7 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3248, allocations: 67.75 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3248, allocations: 12 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.3249, allocations: 16 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.3249, allocations: 35.84 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.325, allocations: 59.72 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3252, allocations: 143.4 kB / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3252, allocations: 0 / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3252, allocations: 0 / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3252, allocations: 0 / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008317/0.3261, allocations: 381.8 kB / 0.5642 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3261, allocations: 8.031 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.3262, allocations: 38.75 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.3265, allocations: 40.81 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3266, allocations: 138.3 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3267, allocations: 4.375 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3267, allocations: 16.36 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.327, allocations: 134.7 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3271, allocations: 0 / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3271, allocations: 7.984 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3271, allocations: 4 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.3274, allocations: 99.86 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.3283, allocations: 418.5 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3286, allocations: 86.53 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3287, allocations: 44.92 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3287, allocations: 3.984 kB / 0.5652 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3288, allocations: 30.56 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3288, allocations: 3.938 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00136/0.3301, allocations: 321.1 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.3302, allocations: 106.8 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3304, allocations: 157.5 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3304, allocations: 29.7 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.3305, allocations: 112.2 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3305, allocations: 15.86 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.3306, allocations: 25.7 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3307, allocations: 322.8 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.331, allocations: 63.89 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3312, allocations: 96.23 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.3316, allocations: 134.5 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3316, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005142/0.3321, allocations: 177.5 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3322, allocations: 7.938 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3322, allocations: 4.062 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3322, allocations: 0 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.3328, allocations: 87.91 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3343, allocations: 1.405 MB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3346, allocations: 32.19 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3346, allocations: 3.938 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.3347, allocations: 125.7 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3347, allocations: 7.953 kB / 0.5683 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.3352, allocations: 174.3 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3352, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.3352, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3352, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000811/0.3361, allocations: 433.4 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3361, allocations: 0 / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3362, allocations: 27.97 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3362, allocations: 4 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3362, allocations: 8 kB / 0.5689 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3362, allocations: 3.938 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3362, allocations: 0 / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.3368, allocations: 259.3 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.3368, allocations: 3.953 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3368, allocations: 8.125 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.337, allocations: 27.91 kB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.3371, allocations: 11.92 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3371, allocations: 4 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.355e-05/0.3372, allocations: 117.5 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3372, allocations: 0 / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3374, allocations: 28 kB / 0.5694 GB, free: 11.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008647/0.3383, allocations: 0.7748 MB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.3392, allocations: 171.9 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3392, allocations: 4 kB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.3394, allocations: 63.94 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3398, allocations: 19.94 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.3433, allocations: 1.98 MB / 0.5723 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3437, allocations: 0.7008 MB / 0.573 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.3437, allocations: 8.438 kB / 0.573 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.3438, allocations: 35.42 kB / 0.573 GB, free: 7.297 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3438, allocations: 0 / 0.573 GB, free: 7.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3754, allocations: 3.278 MB / 0.5762 GB, free: 4.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.68, allocations: 11.86 kB / 0.5763 GB, free: 4.156 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.539123927010223]