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.001565/0.001566, allocations: 106.8 kB / 18.45 MB, free: 4.602 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.001784/0.001784, allocations: 183 kB / 19.38 MB, free: 3.68 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.334/1.334, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2123/0.2123, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3366, allocations: 60.83 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004155/0.3408, allocations: 2.56 MB / 0.522 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.342, allocations: 0.5972 MB / 0.5226 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.3423, allocations: 4.688 kB / 0.5226 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3425, allocations: 38.53 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.3428, allocations: 79.09 kB / 0.5227 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3431, allocations: 61.59 kB / 0.5228 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3435, allocations: 291.9 kB / 0.5231 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.3438, allocations: 86.5 kB / 0.5232 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.344, allocations: 110.7 kB / 0.5233 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.3443, allocations: 125.3 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.3444, allocations: 22.66 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.3445, allocations: 22.47 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.3445, allocations: 47.44 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3447, allocations: 131.4 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3452, allocations: 286.7 kB / 0.5239 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3452, allocations: 0 / 0.5239 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3452, allocations: 1.156 kB / 0.5239 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3452, allocations: 0 / 0.5239 GB, free: 0.7188 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.0008488/0.3461, allocations: 0.5244 MB / 0.5244 GB, free: 268 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3461, allocations: 13.38 kB / 0.5244 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.3462, allocations: 30.81 kB / 0.5244 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.3466, allocations: 251.3 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3466, allocations: 17.78 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3467, allocations: 21.62 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.3471, allocations: 195 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3471, allocations: 0 / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3472, allocations: 10.78 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.3472, allocations: 10.34 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.3475, allocations: 140.5 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.349, allocations: 0.8029 MB / 0.5258 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3493, allocations: 95.58 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3494, allocations: 44.91 kB / 0.526 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3494, allocations: 1.531 kB / 0.526 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3495, allocations: 45.36 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.3495, allocations: 0 / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001896/0.3514, allocations: 0.7153 MB / 0.5267 GB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.3514, allocations: 53.3 kB / 0.5268 GB, free: 14.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3517, allocations: 206.4 kB / 0.527 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3517, allocations: 31.08 kB / 0.527 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3518, allocations: 176.2 kB / 0.5272 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3519, allocations: 55.44 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.352, allocations: 38.94 kB / 0.5272 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3521, allocations: 333.1 kB / 0.5276 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3523, allocations: 59.69 kB / 0.5276 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.3525, allocations: 110.3 kB / 0.5277 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.3528, allocations: 165.9 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3528, allocations: 5.375 kB / 0.5279 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005544/0.3533, allocations: 281.2 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3534, allocations: 6.203 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.3534, allocations: 1.375 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.3537, allocations: 75.34 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3538, allocations: 29.3 kB / 0.5283 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3564, allocations: 3.028 MB / 0.5312 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3565, allocations: 8.125 kB / 0.5312 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3566, allocations: 10.16 kB / 0.5312 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.0001561/0.3567, allocations: 144 kB / 0.5314 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.3568, allocations: 25.83 kB / 0.5314 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.3568, allocations: 17.88 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3569, allocations: 0 / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3569, allocations: 1.531 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.3569, allocations: 100.8 kB / 0.5315 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.357, allocations: 5.25 kB / 0.5315 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3572, allocations: 17.8 kB / 0.5315 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.3573, allocations: 20.31 kB / 0.5316 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006833/0.358, allocations: 314.9 kB / 0.5319 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005481/0.3585, allocations: 415.4 kB / 0.5322 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001388/0.3587, allocations: 56.72 kB / 0.5323 GB, free: 9.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3588, allocations: 152.3 kB / 0.5324 GB, free: 9.484 MB / 398.1 MB Notification: Performance of Backend: time 7.91e-07/0.3588, allocations: 0 / 0.5324 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009037/0.3597, allocations: 439.4 kB / 0.5329 GB, free: 9.109 MB / 398.1 MB Notification: Performance of SimCode: time 0.001123/0.3609, allocations: 0.9781 MB / 0.5338 GB, free: 8.258 MB / 398.1 MB Notification: Performance of Templates: time 0.007736/0.3686, allocations: 2.792 MB / 0.5365 GB, free: 6.871 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