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.001545/0.001545, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001348/0.001348, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.4/1.4, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.52 MB / 314.6 MB, free: 0.5234 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.001576/0.001576, allocations: 70.02 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003303/0.109, allocations: 2.516 MB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.1098, allocations: 0.6397 MB / 444.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.11, allocations: 4 kB / 444.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1101, allocations: 43.58 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1102, allocations: 67.34 kB / 444.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1105, allocations: 71.91 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1107, allocations: 286.7 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1109, allocations: 92.86 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1111, allocations: 115.6 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1112, allocations: 119.5 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.1112, allocations: 24 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.1113, allocations: 24 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1113, allocations: 47.84 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.1114, allocations: 127.4 kB / 445.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1116, allocations: 275 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1117, allocations: 3.938 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1117, allocations: 0 / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1117, allocations: 7.938 kB / 445.6 MB, free: 2.445 MB / 318.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.0006795/0.1124, allocations: 0.534 MB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1124, allocations: 11.89 kB / 446.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1125, allocations: 32.64 kB / 446.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1127, allocations: 235.9 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1127, allocations: 16.81 kB / 446.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1127, allocations: 24.38 kB / 446.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.113, allocations: 191.6 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.113, allocations: 4 kB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1131, allocations: 4 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1131, allocations: 4 kB / 446.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.1133, allocations: 149.6 kB / 446.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1144, allocations: 0.8025 MB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1145, allocations: 102.4 kB / 447.7 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.1146, allocations: 52.83 kB / 447.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1146, allocations: 7.984 kB / 447.8 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1147, allocations: 34.56 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1147, allocations: 0 / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001763/0.1164, allocations: 0.7136 MB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1165, allocations: 59.34 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1167, allocations: 207.8 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1167, allocations: 29.7 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1169, allocations: 163.8 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1169, allocations: 63.17 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.117, allocations: 49.55 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1171, allocations: 330.8 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1173, allocations: 64.62 kB / 449.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1175, allocations: 102.2 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1177, allocations: 181.2 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1178, allocations: 0 / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005362/0.1183, allocations: 283 kB / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1183, allocations: 5.25 kB / 450 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1183, allocations: 7.938 kB / 450 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.1186, allocations: 69.61 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1188, allocations: 31.92 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.1211, allocations: 3.021 MB / 453.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1213, allocations: 12.03 kB / 453.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.1213, allocations: 7.938 kB / 453.2 MB, free: 10.27 MB / 334.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.0001467/0.1215, allocations: 138.2 kB / 453.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.1216, allocations: 19.8 kB / 453.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.1216, allocations: 25.94 kB / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1216, allocations: 4 kB / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1216, allocations: 0 / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1216, allocations: 0 / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1219, allocations: 289.4 kB / 453.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.122, allocations: 0 / 453.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1221, allocations: 15.98 kB / 453.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.1223, allocations: 73.61 kB / 453.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1223, allocations: 4 kB / 453.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.1244, allocations: 3.005 MB / 456.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1245, allocations: 3.938 kB / 456.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.1251, allocations: 400.4 kB / 457.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1251, allocations: 92.94 kB / 457.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1252, allocations: 8 kB / 457.2 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1254, allocations: 11.98 kB / 457.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.1254, allocations: 20.05 kB / 457.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1254, allocations: 4 kB / 457.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1256, allocations: 161.5 kB / 457.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 457.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.1259, allocations: 64 kB / 457.5 MB, free: 5.574 MB / 334.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.000107/0.1261, allocations: 103.2 kB / 457.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.1267, allocations: 405.2 kB / 458 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1267, allocations: 0 / 458 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.1272, allocations: 329.6 kB / 458.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1276, allocations: 36.16 kB / 458.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.1286, allocations: 0.5294 MB / 458.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1289, allocations: 0.7518 MB / 459.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.129, allocations: 19.38 kB / 459.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.129, allocations: 0 / 459.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Templates: time 0.005896/0.1349, allocations: 4.536 MB / 464.2 MB, free: 14.77 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile (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) 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) Reference file matches