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.00114/0.00114, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000882/0.0008819, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.2743/0.2743, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 11.98 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 58.86 MB / 490.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5968, allocations: 87.08 MB / 0.5638 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5971, allocations: 71.03 kB / 0.5638 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.6075, allocations: 3.9 MB / 0.5676 GB, free: 9.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6076, allocations: 3.5 kB / 0.5677 GB, free: 9.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.6076, allocations: 8 kB / 0.5677 GB, free: 9.387 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.0007494/0.6084, allocations: 0.4979 MB / 0.5681 GB, free: 8.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6084, allocations: 12.56 kB / 0.5682 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.685e-05/0.6085, allocations: 31.67 kB / 0.5682 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.6089, allocations: 250.8 kB / 0.5684 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.6089, allocations: 15.25 kB / 0.5684 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.609, allocations: 18.56 kB / 0.5685 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.6093, allocations: 185.5 kB / 0.5686 GB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6093, allocations: 0 / 0.5686 GB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.6094, allocations: 11.12 kB / 0.5686 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6094, allocations: 7.938 kB / 0.5687 GB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.6097, allocations: 148.7 kB / 0.5688 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.611, allocations: 0.8172 MB / 0.5696 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.6112, allocations: 104.3 kB / 0.5697 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.6112, allocations: 0 / 0.5697 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.6113, allocations: 38.56 kB / 0.5697 GB, free: 7.379 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.6113, allocations: 0 / 0.5697 GB, free: 7.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001791/0.6131, allocations: 0.7368 MB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6131, allocations: 51.41 kB / 0.5705 GB, free: 6.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.6133, allocations: 186.3 kB / 0.5707 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.6134, allocations: 29.27 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.6135, allocations: 172.8 kB / 0.5709 GB, free: 6.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.6135, allocations: 61.91 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.6136, allocations: 7.125 kB / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6137, allocations: 333.5 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6139, allocations: 58.12 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.6141, allocations: 114.3 kB / 0.5714 GB, free: 5.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.6142, allocations: 77.16 kB / 0.5715 GB, free: 5.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.6142, allocations: 3.938 kB / 0.5715 GB, free: 5.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005702/0.6148, allocations: 291.7 kB / 0.5718 GB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6149, allocations: 4 kB / 0.5718 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6149, allocations: 160 / 0.5718 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.6151, allocations: 76.17 kB / 0.5719 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.6153, allocations: 31.92 kB / 0.5719 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.6176, allocations: 2.848 MB / 0.5747 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.6177, allocations: 7.625 kB / 0.5747 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.6178, allocations: 11.88 kB / 0.5747 GB, free: 2.465 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 () * 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.0001417/0.6179, allocations: 129.3 kB / 0.5748 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.618, allocations: 23.88 kB / 0.5748 GB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.618, allocations: 25.36 kB / 0.5749 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.618, allocations: 0 / 0.5749 GB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.618, allocations: 4 kB / 0.5749 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.618, allocations: 0 / 0.5749 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.6183, allocations: 290 kB / 0.5751 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6183, allocations: 0 / 0.5751 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.6184, allocations: 23.92 kB / 0.5752 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.6186, allocations: 68.8 kB / 0.5752 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.6187, allocations: 3.75 kB / 0.5752 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.6209, allocations: 2.818 MB / 0.578 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6209, allocations: 0 / 0.578 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.6215, allocations: 409 kB / 0.5784 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.6216, allocations: 92.95 kB / 0.5785 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.6216, allocations: 3.625 kB / 0.5785 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.6218, allocations: 15.98 kB / 0.5785 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.6219, allocations: 19.97 kB / 0.5785 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6219, allocations: 8 kB / 0.5785 GB, free: 14.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.622, allocations: 156.2 kB / 0.5786 GB, free: 14.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.622, allocations: 0 / 0.5786 GB, free: 14.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.6224, allocations: 63.56 kB / 0.5787 GB, free: 14.37 MB / 394.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 () * 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.0001448/0.6225, allocations: 111.1 kB / 0.5788 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006901/0.6232, allocations: 419.3 kB / 0.5792 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6233, allocations: 0 / 0.5792 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.6237, allocations: 333.7 kB / 0.5795 GB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.624, allocations: 35.41 kB / 0.5796 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.625, allocations: 0.6031 MB / 0.5802 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6253, allocations: 0.7557 MB / 0.5809 GB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.718e-05/0.6254, allocations: 21.94 kB / 0.5809 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.6255, allocations: 15.44 kB / 0.5809 GB, free: 12.12 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6255, allocations: 0 / 0.5809 GB, free: 12.12 MB / 394.7 MB Notification: Performance of Templates: time 0.005719/0.6312, allocations: 2.436 MB / 0.5833 GB, free: 9.707 MB / 394.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