Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.00158/0.00158, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2226/0.2226, allocations: 44.2 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4663, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003714/0.47, allocations: 2.568 MB / 0.5214 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4711, allocations: 0.5969 MB / 0.522 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.4713, allocations: 4.562 kB / 0.522 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.4715, allocations: 38.92 kB / 0.522 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.4716, allocations: 74.23 kB / 0.5221 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.4719, allocations: 69.11 kB / 0.5221 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.4722, allocations: 292.2 kB / 0.5224 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.4724, allocations: 89.8 kB / 0.5225 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4726, allocations: 107.8 kB / 0.5226 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.4728, allocations: 121.4 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.4728, allocations: 22.53 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.4729, allocations: 22.22 kB / 0.5228 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.4729, allocations: 48.12 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.4731, allocations: 130.3 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.4734, allocations: 283.8 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4734, allocations: 0 / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4734, allocations: 0 / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4735, allocations: 5.125 kB / 0.5232 GB, free: 0.707 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007802/0.4742, allocations: 0.528 MB / 0.5237 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4743, allocations: 10.12 kB / 0.5237 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.4744, allocations: 30.7 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.4747, allocations: 243.2 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4748, allocations: 17.31 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.4748, allocations: 22.62 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.4752, allocations: 194.9 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4752, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4753, allocations: 10.5 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4753, allocations: 7.156 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.4756, allocations: 143.7 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4769, allocations: 0.8028 MB / 0.5252 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.4772, allocations: 99.33 kB / 0.5253 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.4773, allocations: 44.41 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4773, allocations: 9.047 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4773, allocations: 41.86 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4773, allocations: 0 / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001845/0.4792, allocations: 0.7231 MB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4792, allocations: 52.84 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.4795, allocations: 207 kB / 0.5263 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4795, allocations: 31.88 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4797, allocations: 170.8 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.4797, allocations: 55.53 kB / 0.5265 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.4798, allocations: 38.84 kB / 0.5266 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.48, allocations: 336.8 kB / 0.5269 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4802, allocations: 61.02 kB / 0.527 GB, free: 13.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.4804, allocations: 106 kB / 0.5271 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.4807, allocations: 169.9 kB / 0.5272 GB, free: 13.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4807, allocations: 0 / 0.5272 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006818/0.4814, allocations: 285.4 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4815, allocations: 5.5 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.4815, allocations: 2.75 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/0.4819, allocations: 70.23 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.4821, allocations: 30.52 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.4848, allocations: 3.016 MB / 0.5305 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.485, allocations: 17.27 kB / 0.5306 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.485, allocations: 6.312 kB / 0.5306 GB, free: 10.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4852, allocations: 144.4 kB / 0.5307 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.4852, allocations: 17.91 kB / 0.5307 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.4853, allocations: 21.36 kB / 0.5307 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4853, allocations: 2.844 kB / 0.5307 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4853, allocations: 1.5 kB / 0.5307 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4853, allocations: 4 kB / 0.5308 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.4857, allocations: 295.8 kB / 0.531 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4857, allocations: 0 / 0.531 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.4858, allocations: 16.23 kB / 0.5311 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.486, allocations: 69.33 kB / 0.5311 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.486, allocations: 5.406 kB / 0.5311 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.4884, allocations: 3.004 MB / 0.5341 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4884, allocations: 0 / 0.5341 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.4891, allocations: 402.9 kB / 0.5344 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.4892, allocations: 89.7 kB / 0.5345 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.4892, allocations: 5.188 kB / 0.5345 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4894, allocations: 17.98 kB / 0.5345 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.4895, allocations: 19.38 kB / 0.5346 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.4895, allocations: 3.438 kB / 0.5346 GB, free: 6.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.4897, allocations: 151.3 kB / 0.5347 GB, free: 6.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4897, allocations: 0 / 0.5347 GB, free: 6.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.4901, allocations: 63.62 kB / 0.5348 GB, free: 6.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.4902, allocations: 104.5 kB / 0.5349 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.491, allocations: 413.4 kB / 0.5353 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.491, allocations: 1.125 kB / 0.5353 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.4915, allocations: 325.4 kB / 0.5356 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4918, allocations: 36.61 kB / 0.5356 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4928, allocations: 0.4921 MB / 0.5361 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4932, allocations: 0.7502 MB / 0.5368 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.4933, allocations: 20.81 kB / 0.5368 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.4933, allocations: 16.09 kB / 0.5369 GB, free: 4.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4933, allocations: 0 / 0.5369 GB, free: 4.578 MB / 398.1 MB Notification: Performance of Templates: time 0.006226/0.4996, allocations: 2.721 MB / 0.5395 GB, free: 3.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches