Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 180.6 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 90.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2755/0.2755, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.492e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6168, allocations: 86.97 MB / 0.5577 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.6171, allocations: 67.88 kB / 0.5578 GB, free: 0.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.6335, allocations: 3.901 MB / 0.5616 GB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6335, allocations: 0 / 0.5616 GB, free: 13.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.6336, allocations: 4 kB / 0.5616 GB, free: 13.3 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.000944/0.6345, allocations: 490.5 kB / 0.5621 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6346, allocations: 8.031 kB / 0.5621 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.6347, allocations: 27.67 kB / 0.5621 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.6351, allocations: 255.8 kB / 0.5623 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.6352, allocations: 18.86 kB / 0.5624 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.6352, allocations: 22.69 kB / 0.5624 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.6357, allocations: 178 kB / 0.5626 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6357, allocations: 0 / 0.5626 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.6358, allocations: 10.42 kB / 0.5626 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.6358, allocations: 11.94 kB / 0.5626 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.6362, allocations: 126.4 kB / 0.5627 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.6381, allocations: 0.8256 MB / 0.5635 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.6384, allocations: 94.81 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.6385, allocations: 37.8 kB / 0.5636 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.6385, allocations: 0 / 0.5636 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.6386, allocations: 37.81 kB / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.6386, allocations: 0 / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001998/0.6406, allocations: 0.6277 MB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.6406, allocations: 59.41 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.641, allocations: 186.3 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.641, allocations: 28.14 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6412, allocations: 228.7 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.6412, allocations: 57.25 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.6413, allocations: 7.938 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6414, allocations: 322.5 kB / 0.5651 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6416, allocations: 50.75 kB / 0.5652 GB, free: 9.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.6418, allocations: 93.27 kB / 0.5653 GB, free: 9.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.642, allocations: 65.62 kB / 0.5653 GB, free: 9.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.642, allocations: 0 / 0.5653 GB, free: 9.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006884/0.6427, allocations: 250.6 kB / 0.5656 GB, free: 9.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6427, allocations: 8 kB / 0.5656 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6427, allocations: 0 / 0.5656 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.6431, allocations: 76.05 kB / 0.5657 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.6434, allocations: 32.14 kB / 0.5657 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.6465, allocations: 2.805 MB / 0.5684 GB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.6468, allocations: 15.59 kB / 0.5684 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.6469, allocations: 11.84 kB / 0.5684 GB, free: 6.523 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 () * 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.0001309/0.647, allocations: 116.5 kB / 0.5686 GB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.6471, allocations: 20.12 kB / 0.5686 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/0.6471, allocations: 25.08 kB / 0.5686 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6472, allocations: 0 / 0.5686 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6472, allocations: 8 kB / 0.5686 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6472, allocations: 7.938 kB / 0.5686 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.6476, allocations: 294.5 kB / 0.5689 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6477, allocations: 0 / 0.5689 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.6478, allocations: 15.98 kB / 0.5689 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003099/0.6482, allocations: 66.92 kB / 0.569 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.6482, allocations: 4 kB / 0.569 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.6511, allocations: 2.792 MB / 0.5717 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6512, allocations: 0 / 0.5717 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.652, allocations: 370.1 kB / 0.5721 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.6521, allocations: 96.86 kB / 0.5722 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.6521, allocations: 7.547 kB / 0.5722 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.6524, allocations: 15.38 kB / 0.5722 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.6525, allocations: 16.03 kB / 0.5722 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.6525, allocations: 11.19 kB / 0.5722 GB, free: 2.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.6527, allocations: 150.5 kB / 0.5723 GB, free: 2.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6528, allocations: 0 / 0.5723 GB, free: 2.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.6533, allocations: 66.94 kB / 0.5724 GB, free: 2.48 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 () * 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.0001556/0.6534, allocations: 103.1 kB / 0.5725 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.6542, allocations: 382.8 kB / 0.5729 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.6542, allocations: 0 / 0.5729 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.6548, allocations: 322.7 kB / 0.5732 GB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.6552, allocations: 30.94 kB / 0.5732 GB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.6562, allocations: 372.1 kB / 0.5736 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6567, allocations: 0.7596 MB / 0.5743 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.6567, allocations: 15.44 kB / 0.5743 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6568, allocations: 0 / 0.5743 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of Templates: time 0.00963/0.6664, allocations: 4.367 MB / 0.5786 GB, free: 12.21 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches