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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000829/0.000829, allocations: 86.3 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.405e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 58.85 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5418, allocations: 86.32 MB / 0.5502 GB, free: 8.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.5421, allocations: 67.84 kB / 0.5503 GB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009681/0.5518, allocations: 3.867 MB / 0.5541 GB, free: 5.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5518, allocations: 0.75 kB / 0.5541 GB, free: 5.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.5519, allocations: 4 kB / 0.5541 GB, free: 5.398 MB / 362.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.0008239/0.5527, allocations: 487.6 kB / 0.5545 GB, free: 4.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.5528, allocations: 12.03 kB / 0.5545 GB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.5529, allocations: 27.67 kB / 0.5546 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.5533, allocations: 245.6 kB / 0.5548 GB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.5534, allocations: 11.94 kB / 0.5548 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.5534, allocations: 15.98 kB / 0.5548 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002707/0.5537, allocations: 116.2 kB / 0.5549 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.554, allocations: 153.4 kB / 0.5551 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.554, allocations: 0 / 0.5551 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.554, allocations: 0 / 0.5551 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.554, allocations: 8 kB / 0.5551 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5552, allocations: 0.7745 MB / 0.5558 GB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5554, allocations: 85.23 kB / 0.5559 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.5555, allocations: 42.86 kB / 0.556 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5555, allocations: 0 / 0.556 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5555, allocations: 34.56 kB / 0.556 GB, free: 3.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.5555, allocations: 0 / 0.556 GB, free: 3.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001276/0.5568, allocations: 0.6084 MB / 0.5566 GB, free: 2.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.5569, allocations: 55.41 kB / 0.5566 GB, free: 2.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.557, allocations: 165.2 kB / 0.5568 GB, free: 2.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.557, allocations: 25.7 kB / 0.5568 GB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.5571, allocations: 176.1 kB / 0.557 GB, free: 2.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.5571, allocations: 53.83 kB / 0.557 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.5572, allocations: 4 kB / 0.557 GB, free: 2.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.5572, allocations: 329.5 kB / 0.5574 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.5573, allocations: 43.19 kB / 0.5574 GB, free: 2.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.5574, allocations: 85.52 kB / 0.5575 GB, free: 2.062 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.5575, allocations: 67.09 kB / 0.5575 GB, free: 2.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5575, allocations: 0 / 0.5575 GB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003271/0.5578, allocations: 231.8 kB / 0.5578 GB, free: 1.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5579, allocations: 8.156 kB / 0.5578 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5579, allocations: 4 kB / 0.5578 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.5581, allocations: 69.92 kB / 0.5578 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.5583, allocations: 35.23 kB / 0.5579 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.56, allocations: 2.681 MB / 0.5605 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.5601, allocations: 8.25 kB / 0.5605 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5602, allocations: 7.5 kB / 0.5605 GB, free: 14.98 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 9.445e-05/0.5603, allocations: 117.3 kB / 0.5606 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.5603, allocations: 19.77 kB / 0.5606 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.5604, allocations: 24.2 kB / 0.5607 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5604, allocations: 4 kB / 0.5607 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5604, allocations: 3.938 kB / 0.5607 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5604, allocations: 0 / 0.5607 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.5607, allocations: 241.3 kB / 0.5609 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5607, allocations: 0 / 0.5609 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.5608, allocations: 19.98 kB / 0.5609 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000167/0.561, allocations: 71.2 kB / 0.561 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.561, allocations: 4 kB / 0.561 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5629, allocations: 2.677 MB / 0.5636 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5629, allocations: 0 / 0.5636 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.5633, allocations: 347.7 kB / 0.5639 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.5634, allocations: 92.08 kB / 0.564 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.5634, allocations: 0 / 0.564 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5636, allocations: 20.11 kB / 0.564 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.5637, allocations: 23.8 kB / 0.5641 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5637, allocations: 4 kB / 0.5641 GB, free: 11.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.5638, allocations: 130.7 kB / 0.5642 GB, free: 11.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5638, allocations: 0 / 0.5642 GB, free: 11.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.5642, allocations: 56 kB / 0.5643 GB, free: 11.17 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.0001342/0.5644, allocations: 107.2 kB / 0.5644 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.5649, allocations: 362 kB / 0.5647 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5649, allocations: 3 kB / 0.5647 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.5653, allocations: 295.7 kB / 0.565 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.5656, allocations: 18.69 kB / 0.565 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.5663, allocations: 346.5 kB / 0.5653 GB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.5667, allocations: 0.7477 MB / 0.5661 GB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.5668, allocations: 21.84 kB / 0.5661 GB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.5669, allocations: 15.44 kB / 0.5661 GB, free: 9.285 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5669, allocations: 0 / 0.5661 GB, free: 9.285 MB / 378.7 MB Notification: Performance of Templates: time 0.005263/0.5721, allocations: 2.16 MB / 0.5682 GB, free: 7.152 MB / 378.7 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/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