Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007487/0.0007487, allocations: 94.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008237/0.0008238, allocations: 180 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1674/0.1674, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 12.61 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.08971, allocations: 61.91 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.001928/0.09167, allocations: 1.609 MB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.09253, allocations: 0.5184 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.09262, allocations: 4 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.09267, allocations: 15.84 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.09287, allocations: 31.77 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.09312, allocations: 78.72 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.09329, allocations: 155.4 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.0934, allocations: 16.98 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.09358, allocations: 71.75 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.09368, allocations: 55.77 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.09372, allocations: 8 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.09374, allocations: 7.938 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.09378, allocations: 27.91 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.09385, allocations: 81.41 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.094, allocations: 135.7 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09402, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09402, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.09403, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.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.0006708/0.09471, allocations: 433.3 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.09475, allocations: 8.031 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.09481, allocations: 42.73 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.09485, allocations: 12.84 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.095, allocations: 192.1 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.09503, allocations: 4.375 kB / 475.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.09507, allocations: 16.38 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.09539, allocations: 142.5 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.09542, allocations: 3.938 kB / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.09544, allocations: 0 / 476 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.09545, allocations: 11.98 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.09579, allocations: 99.92 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.0966, allocations: 467.3 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.09691, allocations: 98.52 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.09707, allocations: 44.92 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.09709, allocations: 4 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.09712, allocations: 34.56 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.09712, allocations: 0 / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001358/0.09849, allocations: 365.1 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.09855, allocations: 102.8 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.09868, allocations: 149.8 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.09871, allocations: 29.7 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.09878, allocations: 116 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.0988, allocations: 19.73 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.09884, allocations: 17.72 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.09893, allocations: 318.8 kB / 477.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.09918, allocations: 71.95 kB / 477.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.09945, allocations: 108.2 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/0.09989, allocations: 154.5 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0999, allocations: 0 / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000526/0.1004, allocations: 205.4 kB / 478.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1005, allocations: 11.94 kB / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1005, allocations: 0 / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1005, allocations: 0 / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.1011, allocations: 91.97 kB / 478.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1023, allocations: 1.405 MB / 479.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1025, allocations: 28.09 kB / 479.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1025, allocations: 15.98 kB / 479.9 MB, free: 5.238 MB / 350.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 9.734e-05/0.1026, allocations: 125.7 kB / 480 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1027, allocations: 8.188 kB / 480 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.1032, allocations: 182.3 kB / 480.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1032, allocations: 3.984 kB / 480.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1032, allocations: 4 kB / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1032, allocations: 7.938 kB / 480.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.104, allocations: 490.3 kB / 480.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.104, allocations: 0 / 480.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.1042, allocations: 35.97 kB / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1042, allocations: 0 / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1042, allocations: 8.062 kB / 480.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1042, allocations: 0 / 480.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1042, allocations: 0 / 480.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.1047, allocations: 279.2 kB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.1048, allocations: 85.02 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1048, allocations: 0 / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.105, allocations: 27.97 kB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1051, allocations: 11.98 kB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1051, allocations: 7.938 kB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.319e-05/0.1052, allocations: 109.8 kB / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1052, allocations: 0 / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1054, allocations: 28 kB / 481.3 MB, free: 3.75 MB / 350.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.0007363/0.1062, allocations: 0.8026 MB / 482.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.1071, allocations: 196 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1071, allocations: 0 / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.1073, allocations: 75.89 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1076, allocations: 20.06 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.1108, allocations: 2.076 MB / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1111, allocations: 0.7043 MB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.1112, allocations: 12.41 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1112, allocations: 35.42 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1113, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.1249, allocations: 2.79 MB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.1252, allocations: 242 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.748, allocations: 4 kB / 488.2 MB, free: 12.82 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches