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.001317/0.001317, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001376/0.001376, allocations: 194 kB / 18.12 MB, free: 5.383 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.42/1.42, allocations: 222.9 MB / 241.8 MB, free: 15.38 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.2178/0.2178, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.95 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004244/0.1411, allocations: 2.598 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.1421, allocations: 0.6038 MB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1422, allocations: 4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001675/0.1424, allocations: 31.77 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1425, allocations: 55.48 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1428, allocations: 55.94 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1431, allocations: 282.7 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1433, allocations: 73.03 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1435, allocations: 99.64 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1436, allocations: 115.4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.1437, allocations: 16 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.1437, allocations: 16 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1438, allocations: 39.84 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1439, allocations: 123.4 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1442, allocations: 267.3 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1442, allocations: 0 / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1442, allocations: 0 / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1442, allocations: 0 / 472.9 MB, free: 10.49 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.0008899/0.1451, allocations: 0.538 MB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1452, allocations: 8.031 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1452, allocations: 28.66 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1455, allocations: 239.8 kB / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1455, allocations: 20.8 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.1456, allocations: 20.38 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.146, allocations: 195.6 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.146, allocations: 4 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.146, allocations: 8 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.146, allocations: 4 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.1463, allocations: 137.7 kB / 474.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1477, allocations: 0.8102 MB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1479, allocations: 102.5 kB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.148, allocations: 44.84 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.148, allocations: 8.125 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.148, allocations: 42.44 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1481, allocations: 0 / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001775/0.1498, allocations: 0.7173 MB / 475.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1499, allocations: 51.41 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1501, allocations: 219.6 kB / 476 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1501, allocations: 25.7 kB / 476.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1502, allocations: 171.8 kB / 476.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.1503, allocations: 51.27 kB / 476.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.1504, allocations: 41.7 kB / 476.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1505, allocations: 330.8 kB / 476.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1507, allocations: 59.97 kB / 476.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1508, allocations: 105.1 kB / 476.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.1511, allocations: 171.8 kB / 477 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1512, allocations: 11.92 kB / 477 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006192/0.1518, allocations: 278.8 kB / 477.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1518, allocations: 7.938 kB / 477.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1518, allocations: 4 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.1521, allocations: 69.83 kB / 477.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1523, allocations: 31.98 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.1545, allocations: 2.808 MB / 480.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1547, allocations: 7.984 kB / 480.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1547, allocations: 8 kB / 480.2 MB, free: 2.539 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.0001462/0.1548, allocations: 134.3 kB / 480.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.1549, allocations: 19.81 kB / 480.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.1549, allocations: 29.8 kB / 480.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.155, allocations: 0 / 480.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.155, allocations: 4.062 kB / 480.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.155, allocations: 4 kB / 480.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1553, allocations: 286.2 kB / 480.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1553, allocations: 0 / 480.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.1554, allocations: 15.98 kB / 480.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.1556, allocations: 65.86 kB / 480.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1556, allocations: 11.94 kB / 480.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.1579, allocations: 2.792 MB / 483.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1579, allocations: 0 / 483.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.1585, allocations: 407.4 kB / 483.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1586, allocations: 92.94 kB / 484 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1587, allocations: 11.94 kB / 484 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1588, allocations: 16.17 kB / 484.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.1589, allocations: 16.05 kB / 484.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1589, allocations: 8 kB / 484.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1591, allocations: 148.2 kB / 484.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1591, allocations: 0 / 484.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.1595, allocations: 67.98 kB / 484.3 MB, free: 14.07 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.000156/0.1597, allocations: 101.5 kB / 484.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.1605, allocations: 403.6 kB / 484.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1605, allocations: 0 / 484.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.161, allocations: 329.3 kB / 485.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.1615, allocations: 32.23 kB / 485.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1629, allocations: 0.6021 MB / 485.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.1634, allocations: 0.7518 MB / 486.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1635, allocations: 21.94 kB / 486.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.1636, allocations: 15.44 kB / 486.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1636, allocations: 0 / 486.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.006935/0.1705, allocations: 2.543 MB / 489.1 MB, free: 9.203 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches