Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 178.5 kB / 17.41 MB, free: 4.129 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.7 MB / 243.9 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 87.92 kB / 295 MB, free: 9.695 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3799/0.3799, allocations: 44.33 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004415, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3841, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002267/0.3864, allocations: 2.164 MB / 0.5148 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007594/0.3872, allocations: 0.5731 MB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3873, allocations: 2.875 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.665e-05/0.3874, allocations: 31.12 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.3875, allocations: 62.25 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.3877, allocations: 53.92 kB / 0.5155 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.388, allocations: 279.2 kB / 0.5158 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3881, allocations: 76.28 kB / 0.5159 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3883, allocations: 98.97 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3884, allocations: 106.5 kB / 0.5161 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.3885, allocations: 15.78 kB / 0.5161 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.282e-05/0.3885, allocations: 11.97 kB / 0.5161 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.3885, allocations: 39.95 kB / 0.5161 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.3887, allocations: 135.9 kB / 0.5163 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3889, allocations: 264.4 kB / 0.5165 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3889, allocations: 0 / 0.5165 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3889, allocations: 3.281 kB / 0.5165 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3889, allocations: 0 / 0.5165 GB, free: 35.4 MB / 378.7 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.0006577/0.3896, allocations: 0.4946 MB / 0.517 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3896, allocations: 9.719 kB / 0.517 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.3897, allocations: 26.84 kB / 0.517 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.3899, allocations: 247.5 kB / 0.5173 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3899, allocations: 17.06 kB / 0.5173 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.39, allocations: 17.72 kB / 0.5173 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3903, allocations: 195.1 kB / 0.5175 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3903, allocations: 2.938 kB / 0.5175 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3904, allocations: 11.42 kB / 0.5175 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3904, allocations: 5.156 kB / 0.5175 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3906, allocations: 144 kB / 0.5177 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.3918, allocations: 0.8143 MB / 0.5185 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.392, allocations: 105.3 kB / 0.5186 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.3921, allocations: 54.95 kB / 0.5186 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3921, allocations: 1.25 kB / 0.5186 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3922, allocations: 36.34 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3922, allocations: 0 / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001883/0.3941, allocations: 0.7507 MB / 0.5194 GB, free: 33.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3941, allocations: 54.91 kB / 0.5194 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3943, allocations: 207.9 kB / 0.5196 GB, free: 33.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3943, allocations: 26.8 kB / 0.5197 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.3944, allocations: 171.4 kB / 0.5198 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.3945, allocations: 58.91 kB / 0.5199 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.3945, allocations: 5.125 kB / 0.5199 GB, free: 32.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.3946, allocations: 333.8 kB / 0.5202 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.3948, allocations: 66.88 kB / 0.5203 GB, free: 32.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.395, allocations: 104.9 kB / 0.5204 GB, free: 32.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3954, allocations: 186.1 kB / 0.5205 GB, free: 32.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3954, allocations: 1 kB / 0.5205 GB, free: 32.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005714/0.3959, allocations: 288.3 kB / 0.5208 GB, free: 32.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.396, allocations: 6.719 kB / 0.5208 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.396, allocations: 3.062 kB / 0.5208 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.3962, allocations: 73.89 kB / 0.5209 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3964, allocations: 33.08 kB / 0.5209 GB, free: 32.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.398, allocations: 2.807 MB / 0.5237 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3981, allocations: 13.47 kB / 0.5237 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3981, allocations: 5.844 kB / 0.5237 GB, free: 29.46 MB / 378.7 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.0001006/0.3982, allocations: 141.6 kB / 0.5238 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3983, allocations: 20.75 kB / 0.5238 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.3983, allocations: 30.19 kB / 0.5239 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3983, allocations: 2.969 kB / 0.5239 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3983, allocations: 0 / 0.5239 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3983, allocations: 0 / 0.5239 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3986, allocations: 283.2 kB / 0.5241 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3986, allocations: 3.688 kB / 0.5241 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3987, allocations: 22.08 kB / 0.5242 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.3989, allocations: 69.45 kB / 0.5242 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3989, allocations: 10.22 kB / 0.5242 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.4003, allocations: 2.786 MB / 0.527 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4004, allocations: 0 / 0.527 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.4009, allocations: 415.8 kB / 0.5274 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.4009, allocations: 97.78 kB / 0.5274 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.401, allocations: 4 kB / 0.5275 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4011, allocations: 25.91 kB / 0.5275 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.4012, allocations: 16.45 kB / 0.5275 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4012, allocations: 3.281 kB / 0.5275 GB, free: 25.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.881e-05/0.4013, allocations: 153.8 kB / 0.5276 GB, free: 25.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 0 / 0.5276 GB, free: 25.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000299/0.4016, allocations: 58.59 kB / 0.5277 GB, free: 25.8 MB / 378.7 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 9.101e-05/0.4017, allocations: 109.1 kB / 0.5278 GB, free: 25.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.4023, allocations: 425.4 kB / 0.5282 GB, free: 25.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4023, allocations: 4.312 kB / 0.5282 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.4026, allocations: 327.3 kB / 0.5285 GB, free: 25.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.403, allocations: 38.91 kB / 0.5286 GB, free: 25.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.4039, allocations: 0.6293 MB / 0.5292 GB, free: 24.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.4041, allocations: 0.7547 MB / 0.5299 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.4042, allocations: 14.38 kB / 0.5299 GB, free: 24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4042, allocations: 20.25 kB / 0.5299 GB, free: 23.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4042, allocations: 0 / 0.5299 GB, free: 23.99 MB / 378.7 MB Notification: Performance of Templates: time 0.00577/0.41, allocations: 2.513 MB / 0.5324 GB, free: 23.79 MB / 378.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches