Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.9 kB / 17.86 MB, free: 5.504 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.001197/0.001197, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.17 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 65.83 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 60.81 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004245/0.134, allocations: 2.602 MB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1352, allocations: 0.5961 MB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1355, allocations: 4 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.1357, allocations: 31.77 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.136, allocations: 55.48 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1363, allocations: 63.86 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.1367, allocations: 282.7 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.137, allocations: 65.03 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.1372, allocations: 107.6 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1374, allocations: 107.5 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.1374, allocations: 16 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.1375, allocations: 16 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.1376, allocations: 55.75 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1377, allocations: 115.4 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1379, allocations: 203.7 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1379, allocations: 3.938 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1379, allocations: 0 / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.138, allocations: 0 / 473.5 MB, free: 10.52 MB / 350.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.0009533/0.1389, allocations: 0.5341 MB / 474 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.139, allocations: 8.031 kB / 474 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.433e-05/0.1391, allocations: 28.66 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.1394, allocations: 236.4 kB / 474.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1394, allocations: 20.81 kB / 474.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.1395, allocations: 16.38 kB / 474.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1398, allocations: 199.6 kB / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1399, allocations: 0 / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.1399, allocations: 8 kB / 474.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1399, allocations: 8 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.1402, allocations: 137.6 kB / 474.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1416, allocations: 0.8103 MB / 475.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1418, allocations: 102.4 kB / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1419, allocations: 48.78 kB / 475.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1419, allocations: 4 kB / 475.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.142, allocations: 34.56 kB / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.142, allocations: 0 / 475.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001814/0.1438, allocations: 0.7207 MB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1438, allocations: 55.39 kB / 476.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1441, allocations: 215.7 kB / 476.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1441, allocations: 25.7 kB / 476.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.1442, allocations: 175.8 kB / 476.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1442, allocations: 51.27 kB / 476.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.1443, allocations: 45.7 kB / 476.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1445, allocations: 330.8 kB / 477.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.1446, allocations: 59.97 kB / 477.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.1448, allocations: 105.1 kB / 477.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1451, allocations: 175.7 kB / 477.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1451, allocations: 4 kB / 477.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005171/0.1456, allocations: 290.7 kB / 477.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1457, allocations: 4 kB / 477.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1457, allocations: 4 kB / 477.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.1459, allocations: 69.83 kB / 477.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.1461, allocations: 35.92 kB / 478 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.1484, allocations: 2.804 MB / 480.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1486, allocations: 8.125 kB / 480.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1486, allocations: 12 kB / 480.8 MB, free: 2.574 MB / 350.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.000139/0.1487, allocations: 134.3 kB / 480.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.1488, allocations: 19.81 kB / 480.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1488, allocations: 25.81 kB / 481 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1488, allocations: 0 / 481 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1489, allocations: 4 kB / 481 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1489, allocations: 8.641 kB / 481 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1492, allocations: 281.5 kB / 481.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1492, allocations: 0 / 481.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.1493, allocations: 15.98 kB / 481.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.1495, allocations: 69.61 kB / 481.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.1495, allocations: 15.92 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.1516, allocations: 2.788 MB / 484.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1516, allocations: 3.938 kB / 484.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.1522, allocations: 402.5 kB / 484.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1523, allocations: 92.95 kB / 484.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1523, allocations: 4 kB / 484.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1525, allocations: 15.98 kB / 484.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.1526, allocations: 15.97 kB / 484.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.1526, allocations: 8.062 kB / 484.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1527, allocations: 152.2 kB / 484.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1527, allocations: 0 / 484.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1531, allocations: 64 kB / 484.9 MB, free: 14.12 MB / 366.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.0001338/0.1532, allocations: 97.55 kB / 485 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.1539, allocations: 407.3 kB / 485.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1539, allocations: 4 kB / 485.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.1544, allocations: 329.3 kB / 485.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1548, allocations: 32.23 kB / 485.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1559, allocations: 0.6275 MB / 486.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1562, allocations: 0.7518 MB / 487.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.1563, allocations: 15.44 kB / 487.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1563, allocations: 3.938 kB / 487.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.006397/0.1627, allocations: 4.513 MB / 491.7 MB, free: 7.234 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches