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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 177 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3251/0.3251, allocations: 43.54 MB / 314.5 MB, free: 8.727 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005385/0.0005387, allocations: 14.97 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00255/0.1125, allocations: 2.016 MB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1136, allocations: 0.6285 MB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1138, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.307e-05/0.1139, allocations: 23.83 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1141, allocations: 83.73 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1144, allocations: 59.86 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1146, allocations: 191.6 kB / 445.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1148, allocations: 80.69 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1149, allocations: 91.66 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1151, allocations: 107.6 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1151, allocations: 12 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.1151, allocations: 12 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.1152, allocations: 39.83 kB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1153, allocations: 69.58 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1154, allocations: 203.7 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1154, allocations: 0 / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1155, allocations: 0 / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1155, allocations: 0 / 446.3 MB, free: 9.449 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.0007025/0.1162, allocations: 0.4989 MB / 446.8 MB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1162, allocations: 16.02 kB / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.1163, allocations: 27.67 kB / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1166, allocations: 239.4 kB / 447.1 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1166, allocations: 12.44 kB / 447.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.1166, allocations: 24 kB / 447.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.117, allocations: 191.3 kB / 447.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.117, allocations: 0 / 447.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.117, allocations: 4 kB / 447.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.117, allocations: 8 kB / 447.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.1173, allocations: 149.6 kB / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1185, allocations: 0.8103 MB / 448.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1187, allocations: 98.55 kB / 448.4 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1187, allocations: 3.984 kB / 448.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1188, allocations: 38.67 kB / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1188, allocations: 3.938 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001723/0.1205, allocations: 0.7486 MB / 449.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1206, allocations: 55.41 kB / 449.3 MB, free: 6.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1208, allocations: 215.6 kB / 449.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1209, allocations: 29.64 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.121, allocations: 167.8 kB / 449.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.121, allocations: 59.23 kB / 449.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.1211, allocations: 4 kB / 449.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1212, allocations: 330.8 kB / 450 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1214, allocations: 63.97 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1215, allocations: 105.1 kB / 450.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1217, allocations: 79.98 kB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1217, allocations: 0 / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00054/0.1223, allocations: 279.7 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1223, allocations: 8 kB / 450.6 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1223, allocations: 0 / 450.6 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.1226, allocations: 77.61 kB / 450.6 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1228, allocations: 35.97 kB / 450.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.125, allocations: 2.827 MB / 453.5 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1252, allocations: 20.05 kB / 453.5 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1252, allocations: 11.98 kB / 453.5 MB, free: 1.66 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.1254, allocations: 137.7 kB / 453.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1254, allocations: 19.81 kB / 453.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.1255, allocations: 21.88 kB / 453.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1255, allocations: 3.984 kB / 453.7 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.1255, allocations: 0 / 453.7 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1255, allocations: 4 kB / 453.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.1258, allocations: 285.5 kB / 454 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1258, allocations: 3.984 kB / 454 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.1259, allocations: 16.66 kB / 454 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.1261, allocations: 69.66 kB / 454.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1261, allocations: 0 / 454.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1854/0.3116, allocations: 2.815 MB / 456.9 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3116, allocations: 0 / 456.9 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.3122, allocations: 408.1 kB / 457.3 MB, free: 44.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.3122, allocations: 92.27 kB / 457.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3123, allocations: 15.83 kB / 457.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3125, allocations: 20.41 kB / 457.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.3125, allocations: 14.98 kB / 457.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3126, allocations: 14.47 kB / 457.5 MB, free: 43.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3127, allocations: 152.7 kB / 457.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3127, allocations: 0 / 457.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.3131, allocations: 62.75 kB / 457.7 MB, free: 43.89 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000105/0.3132, allocations: 96.44 kB / 457.8 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005999/0.3138, allocations: 428.1 kB / 458.2 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3138, allocations: 0 / 458.2 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.3141, allocations: 339.4 kB / 458.5 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.3144, allocations: 21.98 kB / 458.5 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.3153, allocations: 0.6007 MB / 459.1 MB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.3154, allocations: 0.7594 MB / 459.9 MB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.3155, allocations: 20.86 kB / 459.9 MB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.3156, allocations: 19.73 kB / 459.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3156, allocations: 0 / 459.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of Templates: time 0.004763/0.3204, allocations: 2.441 MB / 462.4 MB, free: 42.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches