Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 109 kB / 20.45 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 215.3 kB / 23.76 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1935/0.1935, allocations: 44.24 MB / 331 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 468.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 61.04 MB / 0.5173 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003709/0.1096, allocations: 2.548 MB / 0.5198 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1107, allocations: 0.6553 MB / 0.5205 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.1108, allocations: 8 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1109, allocations: 39.58 kB / 0.5205 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.111, allocations: 75.34 kB / 0.5206 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1112, allocations: 63.84 kB / 0.5207 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1116, allocations: 294.7 kB / 0.5209 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1117, allocations: 72.72 kB / 0.521 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1119, allocations: 119.6 kB / 0.5211 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1121, allocations: 115.5 kB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.1121, allocations: 24 kB / 0.5213 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.1121, allocations: 20 kB / 0.5213 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.1122, allocations: 63.75 kB / 0.5213 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1123, allocations: 123.3 kB / 0.5215 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1126, allocations: 282.8 kB / 0.5217 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1126, allocations: 0 / 0.5217 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1126, allocations: 0 / 0.5217 GB, free: 2.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1126, allocations: 4 kB / 0.5217 GB, free: 2.359 MB / 398.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.0007643/0.1134, allocations: 469.5 kB / 0.5222 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1134, allocations: 12.03 kB / 0.5222 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.1135, allocations: 24.8 kB / 0.5222 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.1138, allocations: 187.3 kB / 0.5224 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1138, allocations: 16.81 kB / 0.5224 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1139, allocations: 20.38 kB / 0.5224 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1142, allocations: 195.6 kB / 0.5226 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1142, allocations: 0 / 0.5226 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1142, allocations: 12 kB / 0.5226 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1142, allocations: 4 kB / 0.5226 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.1145, allocations: 145.6 kB / 0.5228 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1157, allocations: 0.7563 MB / 0.5235 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1159, allocations: 98.42 kB / 0.5236 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.116, allocations: 44.84 kB / 0.5236 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.116, allocations: 3.984 kB / 0.5236 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.116, allocations: 34.56 kB / 0.5237 GB, free: 220 kB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.116, allocations: 0 / 0.5237 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001589/0.1176, allocations: 0.6427 MB / 0.5243 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1177, allocations: 55.41 kB / 0.5244 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1179, allocations: 215.7 kB / 0.5246 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1179, allocations: 30.36 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.118, allocations: 168.2 kB / 0.5247 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.1181, allocations: 59.53 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.1181, allocations: 45.66 kB / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1183, allocations: 330.8 kB / 0.5252 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1184, allocations: 63.97 kB / 0.5252 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1186, allocations: 105 kB / 0.5253 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1189, allocations: 188.3 kB / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1189, allocations: 0 / 0.5255 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005134/0.1194, allocations: 279.1 kB / 0.5258 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1194, allocations: 8 kB / 0.5258 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1194, allocations: 0 / 0.5258 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.1196, allocations: 73.67 kB / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1198, allocations: 31.92 kB / 0.5259 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.1222, allocations: 2.81 MB / 0.5286 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1223, allocations: 8.031 kB / 0.5286 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1224, allocations: 12.06 kB / 0.5286 GB, free: 10.75 MB / 414.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.0001351/0.1225, allocations: 137.8 kB / 0.5288 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1225, allocations: 19.86 kB / 0.5288 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.1226, allocations: 21.81 kB / 0.5288 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1226, allocations: 4 kB / 0.5288 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1226, allocations: 0 / 0.5288 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1226, allocations: 3.984 kB / 0.5288 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.1229, allocations: 260.7 kB / 0.5291 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1229, allocations: 8 kB / 0.5291 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.123, allocations: 19.92 kB / 0.5291 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.1232, allocations: 65.67 kB / 0.5292 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1232, allocations: 7.984 kB / 0.5292 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.1255, allocations: 2.802 MB / 0.5319 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1255, allocations: 0 / 0.5319 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.1261, allocations: 400.9 kB / 0.5323 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.1261, allocations: 15.89 kB / 0.5323 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1261, allocations: 4 kB / 0.5323 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1263, allocations: 16.05 kB / 0.5323 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.1264, allocations: 19.97 kB / 0.5323 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1264, allocations: 4 kB / 0.5323 GB, free: 6.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1265, allocations: 153.5 kB / 0.5325 GB, free: 6.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 0.5325 GB, free: 6.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1268, allocations: 64 kB / 0.5326 GB, free: 6.434 MB / 414.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.0001035/0.1269, allocations: 95.19 kB / 0.5326 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.1276, allocations: 408.8 kB / 0.533 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1276, allocations: 0 / 0.533 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.128, allocations: 325.5 kB / 0.5333 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1283, allocations: 36.89 kB / 0.5334 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009462/0.1292, allocations: 0.5466 MB / 0.5339 GB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1296, allocations: 0.744 MB / 0.5346 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.1297, allocations: 23.42 kB / 0.5347 GB, free: 4.156 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1297, allocations: 0 / 0.5347 GB, free: 4.156 MB / 414.1 MB Notification: Performance of Templates: time 0.18/0.3097, allocations: 4.535 MB / 0.5391 GB, free: 27.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.417543236166239]