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.001435/0.001435, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001406/0.001406, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.232/0.232, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 71.83 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3633, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002947/0.3663, allocations: 1.9 MB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.3672, allocations: 0.5344 MB / 0.5208 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.3673, allocations: 1.125 kB / 0.5208 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.3673, allocations: 14.5 kB / 0.5208 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.3675, allocations: 43.03 kB / 0.5208 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3678, allocations: 78.7 kB / 0.5209 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.368, allocations: 159.8 kB / 0.5211 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3681, allocations: 31.38 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3683, allocations: 68.39 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3684, allocations: 74.25 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.3685, allocations: 12.44 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.18e-05/0.3685, allocations: 13.19 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.3685, allocations: 29.28 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.3686, allocations: 60.56 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3688, allocations: 146.3 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3688, allocations: 0.6094 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3689, allocations: 0 / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3689, allocations: 1.156 kB / 0.5215 GB, free: 1.219 MB / 382.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.0007709/0.3696, allocations: 455.9 kB / 0.5219 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3697, allocations: 10.06 kB / 0.5219 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.3697, allocations: 43.83 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3698, allocations: 9.859 kB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3699, allocations: 189.2 kB / 0.5222 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3699, allocations: 10.97 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.37, allocations: 9.594 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.3703, allocations: 139 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3704, allocations: 0 / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3704, allocations: 1.531 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3704, allocations: 1.438 kB / 0.5223 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.3707, allocations: 96.75 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.3715, allocations: 453.7 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3718, allocations: 96.05 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.372, allocations: 42 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.372, allocations: 0 / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.372, allocations: 36.53 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.372, allocations: 1.125 kB / 0.523 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001435/0.3735, allocations: 319.5 kB / 0.5233 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.3736, allocations: 104.4 kB / 0.5234 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3737, allocations: 144.6 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3738, allocations: 26.89 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3739, allocations: 118.2 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3739, allocations: 20.77 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.374, allocations: 30.22 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3741, allocations: 322.9 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.3744, allocations: 57.8 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.3746, allocations: 105.9 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.3751, allocations: 134.1 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3752, allocations: 2.656 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005392/0.3757, allocations: 173.2 kB / 0.5245 GB, free: 14.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3757, allocations: 15.53 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3757, allocations: 1.188 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3758, allocations: 1.125 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.3763, allocations: 86.92 kB / 0.5246 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.378, allocations: 1.508 MB / 0.5261 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3782, allocations: 26.88 kB / 0.5261 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3783, allocations: 7.297 kB / 0.5261 GB, free: 13.36 MB / 398.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.0001398/0.3784, allocations: 125.3 kB / 0.5262 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3784, allocations: 8.797 kB / 0.5262 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.379, allocations: 167.4 kB / 0.5264 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.379, allocations: 0.8906 kB / 0.5264 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.379, allocations: 0 / 0.5264 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.379, allocations: 1.875 kB / 0.5264 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008651/0.3799, allocations: 469.9 kB / 0.5268 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3799, allocations: 0 / 0.5268 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3801, allocations: 35.06 kB / 0.5269 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3801, allocations: 1.156 kB / 0.5269 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3801, allocations: 0.6094 kB / 0.5269 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3801, allocations: 5.562 kB / 0.5269 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3801, allocations: 0 / 0.5269 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3807, allocations: 247.4 kB / 0.5271 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.3808, allocations: 84.17 kB / 0.5272 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3808, allocations: 10.33 kB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.381, allocations: 24.61 kB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.3811, allocations: 9.25 kB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3811, allocations: 2.156 kB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3812, allocations: 118.6 kB / 0.5274 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3812, allocations: 1.375 kB / 0.5274 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3815, allocations: 28.75 kB / 0.5274 GB, free: 12.42 MB / 398.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.0009386/0.3825, allocations: 0.7795 MB / 0.5281 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.3834, allocations: 174.2 kB / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3834, allocations: 0 / 0.5283 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.3836, allocations: 66.52 kB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.384, allocations: 19.02 kB / 0.5284 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.3877, allocations: 1.985 MB / 0.5303 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3881, allocations: 0.7032 MB / 0.531 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.3881, allocations: 15.23 kB / 0.531 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.3882, allocations: 33.14 kB / 0.5311 GB, free: 9.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3882, allocations: 0 / 0.5311 GB, free: 9.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.4153, allocations: 3.186 MB / 0.5342 GB, free: 7.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.75, allocations: 9.453 kB / 0.5342 GB, free: 7.762 MB / 398.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