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.001411/0.001411, allocations: 111.8 kB / 18.46 MB, free: 4.594 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.001408/0.001408, allocations: 185.9 kB / 19.38 MB, free: 3.672 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.335/1.335, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.1995/0.1995, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 71.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3675, allocations: 60.81 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003078/0.3706, allocations: 2.571 MB / 0.5221 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008928/0.3716, allocations: 0.5981 MB / 0.5226 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3717, allocations: 3.625 kB / 0.5226 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3718, allocations: 42.84 kB / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.372, allocations: 70.17 kB / 0.5227 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.3722, allocations: 70.27 kB / 0.5228 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.3725, allocations: 291.8 kB / 0.5231 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3727, allocations: 85.47 kB / 0.5232 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3728, allocations: 108.4 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.373, allocations: 124.4 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.3731, allocations: 23.66 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.569e-05/0.3731, allocations: 22.75 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.3732, allocations: 50.72 kB / 0.5235 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3733, allocations: 123.5 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.3736, allocations: 285.3 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3736, allocations: 0 / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3736, allocations: 5.062 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3736, allocations: 0 / 0.5239 GB, free: 0.7031 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.0006608/0.3743, allocations: 0.5305 MB / 0.5244 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3744, allocations: 9.359 kB / 0.5244 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.3744, allocations: 29.88 kB / 0.5244 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3747, allocations: 251.2 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3747, allocations: 17.91 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.3748, allocations: 21.62 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3751, allocations: 190.8 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3752, allocations: 3.938 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3752, allocations: 14.77 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3752, allocations: 4.375 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.3755, allocations: 138.7 kB / 0.5251 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3767, allocations: 0.8068 MB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3769, allocations: 100.6 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.377, allocations: 52.77 kB / 0.526 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3771, allocations: 0 / 0.526 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3771, allocations: 37.44 kB / 0.526 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3771, allocations: 0 / 0.526 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001632/0.3787, allocations: 0.7324 MB / 0.5267 GB, free: 14.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3788, allocations: 53.58 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.379, allocations: 206 kB / 0.527 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.379, allocations: 27.08 kB / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3791, allocations: 172.7 kB / 0.5272 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.3792, allocations: 59.72 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.3793, allocations: 42.84 kB / 0.5273 GB, free: 14.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3794, allocations: 337.1 kB / 0.5276 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3795, allocations: 55.97 kB / 0.5276 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3797, allocations: 105.6 kB / 0.5277 GB, free: 13.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.38, allocations: 169.9 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.38, allocations: 2.266 kB / 0.5279 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000491/0.3805, allocations: 284.1 kB / 0.5282 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3805, allocations: 5.828 kB / 0.5282 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3805, allocations: 6.891 kB / 0.5282 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.3807, allocations: 74.7 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3809, allocations: 34.5 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.383, allocations: 3.021 MB / 0.5312 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.3832, allocations: 12.64 kB / 0.5313 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3832, allocations: 9.75 kB / 0.5313 GB, free: 10.42 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.0001208/0.3833, allocations: 136.3 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3834, allocations: 18.22 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.3834, allocations: 26.86 kB / 0.5314 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3834, allocations: 3.938 kB / 0.5314 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3834, allocations: 4.062 kB / 0.5315 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3835, allocations: 97.44 kB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3835, allocations: 5.156 kB / 0.5315 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.3837, allocations: 13.83 kB / 0.5316 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.3838, allocations: 23.44 kB / 0.5316 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006135/0.3844, allocations: 313.1 kB / 0.5319 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000481/0.3849, allocations: 422.4 kB / 0.5323 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001175/0.385, allocations: 61.14 kB / 0.5323 GB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3851, allocations: 148.5 kB / 0.5325 GB, free: 9.449 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3851, allocations: 0 / 0.5325 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.3859, allocations: 446 kB / 0.5329 GB, free: 9.07 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009155/0.3868, allocations: 0.9818 MB / 0.5339 GB, free: 8.215 MB / 398.1 MB Notification: Performance of Templates: time 0.005733/0.3926, allocations: 2.796 MB / 0.5366 GB, free: 6.824 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches