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.001337/0.001337, allocations: 108.7 kB / 18.45 MB, free: 4.621 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.001496/0.001496, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.326/1.326, allocations: 222.9 MB / 243.1 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.2131/0.2131, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.411, allocations: 60.82 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003337/0.4144, allocations: 2.574 MB / 0.522 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.4153, allocations: 0.5978 MB / 0.5226 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.4154, allocations: 3.312 kB / 0.5226 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.4156, allocations: 39.55 kB / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.4157, allocations: 74.75 kB / 0.5227 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.416, allocations: 64.33 kB / 0.5228 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.4163, allocations: 292.3 kB / 0.5231 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.4165, allocations: 86.67 kB / 0.5232 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.4167, allocations: 114.8 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.4169, allocations: 117.3 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.4169, allocations: 27.23 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.417, allocations: 22.97 kB / 0.5234 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.417, allocations: 51.25 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.4172, allocations: 122.6 kB / 0.5236 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.4175, allocations: 286.8 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4175, allocations: 0 / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4175, allocations: 0 / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4175, allocations: 1.312 kB / 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.0007135/0.4183, allocations: 0.5213 MB / 0.5244 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4183, allocations: 11.06 kB / 0.5244 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.4184, allocations: 33.47 kB / 0.5244 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.4187, allocations: 247.6 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4187, allocations: 16.75 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.4187, allocations: 22.7 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.4191, allocations: 198.2 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4192, allocations: 0.5156 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.4192, allocations: 6.625 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4192, allocations: 4.75 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.4195, allocations: 143.2 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4208, allocations: 0.7944 MB / 0.5258 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.421, allocations: 103.8 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4211, allocations: 44.8 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4212, allocations: 5.719 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4212, allocations: 39.34 kB / 0.526 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/0.4212, allocations: 5.703 kB / 0.526 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001705/0.4229, allocations: 0.719 MB / 0.5267 GB, free: 14.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.423, allocations: 54.67 kB / 0.5268 GB, free: 14.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4232, allocations: 206.4 kB / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4232, allocations: 29.7 kB / 0.527 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4233, allocations: 172.2 kB / 0.5271 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.4234, allocations: 55.72 kB / 0.5272 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.4235, allocations: 39.08 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4236, allocations: 332.5 kB / 0.5275 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4237, allocations: 63.41 kB / 0.5276 GB, free: 13.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4239, allocations: 111.8 kB / 0.5277 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.4242, allocations: 170.1 kB / 0.5279 GB, free: 13.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4242, allocations: 0 / 0.5279 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005374/0.4248, allocations: 285.4 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4248, allocations: 6.734 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.4248, allocations: 1.25 kB / 0.5282 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.4251, allocations: 70.7 kB / 0.5282 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.4252, allocations: 30.78 kB / 0.5283 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.4277, allocations: 3.021 MB / 0.5312 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4278, allocations: 12.12 kB / 0.5312 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4279, allocations: 10.77 kB / 0.5312 GB, free: 10.44 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.0001522/0.428, allocations: 143.8 kB / 0.5314 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.4281, allocations: 17.81 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.4281, allocations: 18.09 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4282, allocations: 2.688 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4282, allocations: 5.25 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4282, allocations: 7.984 kB / 0.5314 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.4285, allocations: 284.9 kB / 0.5317 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4285, allocations: 0 / 0.5317 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.4286, allocations: 16.36 kB / 0.5317 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.4288, allocations: 72.44 kB / 0.5318 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4289, allocations: 5.625 kB / 0.5318 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.4312, allocations: 3.004 MB / 0.5347 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4313, allocations: 0 / 0.5347 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.4319, allocations: 403 kB / 0.5351 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.432, allocations: 93.91 kB / 0.5352 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.432, allocations: 5.094 kB / 0.5352 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.4322, allocations: 17.95 kB / 0.5352 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4323, allocations: 15.36 kB / 0.5352 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4323, allocations: 7.016 kB / 0.5352 GB, free: 6.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.4325, allocations: 152.5 kB / 0.5354 GB, free: 6.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4325, allocations: 0 / 0.5354 GB, free: 6.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.4329, allocations: 64.25 kB / 0.5354 GB, free: 6.375 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.0001228/0.433, allocations: 102.8 kB / 0.5355 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.4337, allocations: 408.4 kB / 0.5359 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4337, allocations: 1.375 kB / 0.5359 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.4341, allocations: 329.4 kB / 0.5362 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.4345, allocations: 30.36 kB / 0.5363 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.4355, allocations: 0.5321 MB / 0.5368 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4359, allocations: 0.7502 MB / 0.5375 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.4359, allocations: 16.41 kB / 0.5375 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4359, allocations: 0 / 0.5375 GB, free: 4.531 MB / 398.1 MB Notification: Performance of Templates: time 0.008494/0.4444, allocations: 4.543 MB / 0.542 GB, free: 2.129 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