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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002161/0.002161, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002422/0.002422, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.27 kB / 491.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1388, allocations: 64.25 MB / 0.543 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00415/0.1429, allocations: 2.579 MB / 0.5455 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1442, allocations: 0.6037 MB / 0.5461 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1443, allocations: 4 kB / 0.5461 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1444, allocations: 39.64 kB / 0.5461 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1446, allocations: 75.28 kB / 0.5462 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1449, allocations: 67.91 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.1453, allocations: 290.7 kB / 0.5465 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1455, allocations: 64.83 kB / 0.5466 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1457, allocations: 115.6 kB / 0.5467 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1458, allocations: 127.4 kB / 0.5468 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1459, allocations: 20 kB / 0.5468 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.1459, allocations: 24 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.146, allocations: 47.84 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1462, allocations: 127.4 kB / 0.547 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1465, allocations: 278.9 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1465, allocations: 0 / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1465, allocations: 0 / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1465, allocations: 0 / 0.5473 GB, free: 15.56 MB / 414.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.0009566/0.1475, allocations: 0.5416 MB / 0.5478 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1475, allocations: 8.031 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.1476, allocations: 58.73 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.1477, allocations: 28.75 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1481, allocations: 247.9 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1481, allocations: 12.81 kB / 0.5482 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.1482, allocations: 24.38 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.1486, allocations: 195.4 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1486, allocations: 3.938 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1486, allocations: 4 kB / 0.5484 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1486, allocations: 12 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.1489, allocations: 141.7 kB / 0.5485 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1503, allocations: 0.8104 MB / 0.5493 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1505, allocations: 90.48 kB / 0.5494 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1506, allocations: 52.83 kB / 0.5495 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1506, allocations: 192 / 0.5495 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1506, allocations: 42.5 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1506, allocations: 0 / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001879/0.1525, allocations: 0.7205 MB / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1526, allocations: 51.41 kB / 0.5503 GB, free: 12.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1528, allocations: 211.7 kB / 0.5505 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1528, allocations: 29.7 kB / 0.5505 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.153, allocations: 176.1 kB / 0.5507 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.153, allocations: 59.53 kB / 0.5507 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.1531, allocations: 41.7 kB / 0.5508 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1533, allocations: 330.8 kB / 0.5511 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1534, allocations: 59.97 kB / 0.5511 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1536, allocations: 109 kB / 0.5512 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1539, allocations: 167 kB / 0.5514 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1539, allocations: 7.938 kB / 0.5514 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005284/0.1544, allocations: 272.4 kB / 0.5517 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1544, allocations: 11.94 kB / 0.5517 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1544, allocations: 0 / 0.5517 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.1547, allocations: 77.83 kB / 0.5517 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1549, allocations: 27.98 kB / 0.5518 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.1577, allocations: 3.021 MB / 0.5547 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1579, allocations: 4 kB / 0.5547 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1579, allocations: 12 kB / 0.5547 GB, free: 7.309 MB / 414.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.0001747/0.158, allocations: 138.3 kB / 0.5549 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.1581, allocations: 27.95 kB / 0.5549 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.1581, allocations: 21.88 kB / 0.5549 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1581, allocations: 0 / 0.5549 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.1582, allocations: 4 kB / 0.5549 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1582, allocations: 3.938 kB / 0.5549 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1585, allocations: 289.4 kB / 0.5552 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1585, allocations: 3.938 kB / 0.5552 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.1586, allocations: 15.98 kB / 0.5552 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.1588, allocations: 69.67 kB / 0.5553 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1588, allocations: 8 kB / 0.5553 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.1615, allocations: 3.005 MB / 0.5582 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1615, allocations: 0 / 0.5582 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.1622, allocations: 398.8 kB / 0.5586 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1623, allocations: 105 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1623, allocations: 0 / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1625, allocations: 15.98 kB / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.1625, allocations: 15.98 kB / 0.5587 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1625, allocations: 4 kB / 0.5587 GB, free: 2.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1627, allocations: 148.2 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 4.062 kB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.1631, allocations: 64 kB / 0.5589 GB, free: 2.613 MB / 414.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.001016/0.1641, allocations: 0.9294 MB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007776/0.1648, allocations: 393.1 kB / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1649, allocations: 384 / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.1653, allocations: 333.2 kB / 0.5605 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1657, allocations: 32.17 kB / 0.5606 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.1692, allocations: 2.473 MB / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1696, allocations: 0.7478 MB / 0.5637 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.754e-05/0.1697, allocations: 21.94 kB / 0.5637 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1699, allocations: 67.41 kB / 0.5638 GB, free: 13.4 MB / 430.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1699, allocations: 4 kB / 0.5638 GB, free: 13.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.2156, allocations: 5.024 MB / 0.5687 GB, free: 8.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.44, allocations: 7.875 kB / 0.5687 GB, free: 8.5 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.660374280065298]