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.001016/0.001016, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001016/0.001016, allocations: 187.1 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.387/1.387, 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.2376/0.2376, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4742, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003483/0.4777, allocations: 2.559 MB / 0.5214 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.4786, allocations: 0.5978 MB / 0.522 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.4788, allocations: 4.125 kB / 0.522 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.4789, allocations: 39.77 kB / 0.522 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.4791, allocations: 77.58 kB / 0.5221 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.4794, allocations: 64.62 kB / 0.5221 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.4797, allocations: 291.3 kB / 0.5224 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.4799, allocations: 87.28 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.4801, allocations: 106.3 kB / 0.5226 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.4802, allocations: 120.9 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.4803, allocations: 23.62 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.4803, allocations: 26.88 kB / 0.5228 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.4804, allocations: 51.86 kB / 0.5228 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4805, allocations: 129.6 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.4808, allocations: 282.5 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4809, allocations: 0.7031 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4809, allocations: 1.062 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4809, allocations: 0 / 0.5232 GB, free: 0.7227 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.0007553/0.4816, allocations: 0.5263 MB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4817, allocations: 8.812 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.4817, allocations: 30.81 kB / 0.5238 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4821, allocations: 244.2 kB / 0.524 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.4821, allocations: 16.56 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.4821, allocations: 23.42 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.4825, allocations: 190.5 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4826, allocations: 4 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.4826, allocations: 15.16 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.4826, allocations: 3.062 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.4829, allocations: 143.1 kB / 0.5244 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.4843, allocations: 0.7979 MB / 0.5251 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.4845, allocations: 101.2 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4846, allocations: 56.83 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4846, allocations: 0 / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4847, allocations: 32.61 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.4847, allocations: 1.594 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001826/0.4865, allocations: 0.7199 MB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4866, allocations: 54.25 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.4868, allocations: 214.2 kB / 0.5263 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4869, allocations: 25.7 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.487, allocations: 172.5 kB / 0.5265 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.487, allocations: 58.95 kB / 0.5265 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.4871, allocations: 43.31 kB / 0.5266 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4872, allocations: 333.1 kB / 0.5269 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4874, allocations: 55.17 kB / 0.5269 GB, free: 13.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4876, allocations: 116.3 kB / 0.5271 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.4879, allocations: 171.9 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4879, allocations: 0 / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005334/0.4884, allocations: 279.7 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4885, allocations: 6.266 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.4885, allocations: 6.75 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.4887, allocations: 72.69 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4889, allocations: 32.36 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.4912, allocations: 3.014 MB / 0.5305 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.4914, allocations: 8.812 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4914, allocations: 10.59 kB / 0.5306 GB, free: 10.45 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.0001465/0.4916, allocations: 143.7 kB / 0.5307 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.4916, allocations: 18.31 kB / 0.5307 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.4917, allocations: 21.28 kB / 0.5307 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4917, allocations: 2.5 kB / 0.5307 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.4917, allocations: 1.094 kB / 0.5307 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4917, allocations: 5.266 kB / 0.5307 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.492, allocations: 287.6 kB / 0.531 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.492, allocations: 0 / 0.531 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4922, allocations: 28.27 kB / 0.531 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.4923, allocations: 68.64 kB / 0.5311 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4924, allocations: 5.516 kB / 0.5311 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.4945, allocations: 3.003 MB / 0.534 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4945, allocations: 1.281 kB / 0.534 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.4951, allocations: 393.5 kB / 0.5344 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.4952, allocations: 96.59 kB / 0.5345 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4952, allocations: 2.5 kB / 0.5345 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.4954, allocations: 17.17 kB / 0.5345 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4954, allocations: 15.67 kB / 0.5345 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4955, allocations: 7.094 kB / 0.5346 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4956, allocations: 151.5 kB / 0.5347 GB, free: 6.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4956, allocations: 0 / 0.5347 GB, free: 6.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.496, allocations: 64.22 kB / 0.5348 GB, free: 6.387 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.0001416/0.4961, allocations: 108.5 kB / 0.5349 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.4968, allocations: 409.3 kB / 0.5353 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4968, allocations: 3.938 kB / 0.5353 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.4972, allocations: 329.4 kB / 0.5356 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.4976, allocations: 38.67 kB / 0.5356 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.4985, allocations: 0.4889 MB / 0.5361 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4989, allocations: 0.7508 MB / 0.5368 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.525e-05/0.499, allocations: 18.53 kB / 0.5368 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.499, allocations: 19.59 kB / 0.5369 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.499, allocations: 0 / 0.5369 GB, free: 4.562 MB / 398.1 MB Notification: Performance of Templates: time 0.00692/0.5059, allocations: 2.676 MB / 0.5395 GB, free: 3.246 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