Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002341/0.002341, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.88 kB / 0.4909 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 66.05 MB / 0.5554 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00423/0.133, allocations: 2.589 MB / 0.558 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1344, allocations: 0.6739 MB / 0.5586 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.1345, allocations: 7.938 kB / 0.5586 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1347, allocations: 35.64 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1349, allocations: 79.34 kB / 0.5587 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1352, allocations: 79.81 kB / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1356, allocations: 294.7 kB / 0.5591 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1358, allocations: 68.38 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1361, allocations: 119.6 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1362, allocations: 115.5 kB / 0.5594 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.1363, allocations: 24 kB / 0.5594 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.886e-05/0.1363, allocations: 36 kB / 0.5594 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1364, allocations: 51.81 kB / 0.5595 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1365, allocations: 127.3 kB / 0.5596 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.1369, allocations: 294.8 kB / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1369, allocations: 0 / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1369, allocations: 0 / 0.5599 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1369, allocations: 0 / 0.5599 GB, free: 0.9727 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.0009065/0.1378, allocations: 0.5416 MB / 0.5604 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1379, allocations: 12.03 kB / 0.5604 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/0.138, allocations: 54.72 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1381, allocations: 36.8 kB / 0.5605 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.1386, allocations: 267.8 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1386, allocations: 16.81 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.1387, allocations: 20.38 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1391, allocations: 199.3 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1391, allocations: 0 / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.1391, allocations: 12 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1391, allocations: 4 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.1394, allocations: 137.7 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1409, allocations: 0.8066 MB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1411, allocations: 102.4 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1412, allocations: 44.78 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1413, allocations: 0 / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1413, allocations: 38.56 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1413, allocations: 0 / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001978/0.1433, allocations: 0.7157 MB / 0.5628 GB, free: 13.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1433, allocations: 55.41 kB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1436, allocations: 214.9 kB / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.1436, allocations: 29.7 kB / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1437, allocations: 172.1 kB / 0.5633 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.1438, allocations: 55.58 kB / 0.5633 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.1439, allocations: 41.66 kB / 0.5634 GB, free: 13.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.1441, allocations: 334.8 kB / 0.5637 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1443, allocations: 59.97 kB / 0.5637 GB, free: 12.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1445, allocations: 109.1 kB / 0.5638 GB, free: 12.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.1448, allocations: 175.8 kB / 0.564 GB, free: 12.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1448, allocations: 0 / 0.564 GB, free: 12.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005814/0.1454, allocations: 279.1 kB / 0.5643 GB, free: 12.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1454, allocations: 8 kB / 0.5643 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1454, allocations: 3.984 kB / 0.5643 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.1457, allocations: 61.69 kB / 0.5643 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.1459, allocations: 35.91 kB / 0.5644 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.1488, allocations: 3.025 MB / 0.5673 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.149, allocations: 7.984 kB / 0.5673 GB, free: 8.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.149, allocations: 8 kB / 0.5674 GB, free: 8.695 MB / 430.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.0001792/0.1492, allocations: 141.8 kB / 0.5675 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.1492, allocations: 23.84 kB / 0.5675 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.1493, allocations: 25.86 kB / 0.5675 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1493, allocations: 0 / 0.5675 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1493, allocations: 0 / 0.5675 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1493, allocations: 4.656 kB / 0.5675 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1497, allocations: 289.4 kB / 0.5678 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1497, allocations: 0 / 0.5678 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.1498, allocations: 23.92 kB / 0.5678 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/0.15, allocations: 69.86 kB / 0.5679 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.15, allocations: 8 kB / 0.5679 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.1528, allocations: 3.005 MB / 0.5708 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1528, allocations: 3.938 kB / 0.5709 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.1535, allocations: 399.1 kB / 0.5712 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.1536, allocations: 97 kB / 0.5713 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1536, allocations: 192 / 0.5713 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1538, allocations: 23.98 kB / 0.5713 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.1539, allocations: 20.03 kB / 0.5714 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1539, allocations: 4 kB / 0.5714 GB, free: 4.199 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1541, allocations: 152.6 kB / 0.5715 GB, free: 4.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1541, allocations: 0 / 0.5715 GB, free: 4.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.1545, allocations: 67.94 kB / 0.5716 GB, free: 3.984 MB / 430.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.001053/0.1555, allocations: 0.9131 MB / 0.5725 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007551/0.1563, allocations: 403.6 kB / 0.5729 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1563, allocations: 3.938 kB / 0.5729 GB, free: 2.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.1568, allocations: 317.3 kB / 0.5732 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.1573, allocations: 30.83 kB / 0.5732 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.1611, allocations: 2.475 MB / 0.5756 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.1615, allocations: 0.748 MB / 0.5763 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.76e-05/0.1616, allocations: 21.94 kB / 0.5764 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1617, allocations: 71.41 kB / 0.5764 GB, free: 14.79 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1617, allocations: 0 / 0.5764 GB, free: 14.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.2087, allocations: 5.061 MB / 0.5814 GB, free: 9.844 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.937/10.15, allocations: 15.08 kB / 0.5814 GB, free: 9.832 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.736013995017856]