Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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.001694/0.001694, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002081/0.002081, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.55/1.55, allocations: 230.4 MB / 254 MB, free: 15.03 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.2503/0.2503, allocations: 46.93 MB / 357 MB, free: 10.2 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.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 80.2 kB / 0.4909 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1456, allocations: 66.05 MB / 0.5554 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003329/0.1489, allocations: 1.736 MB / 0.5571 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000233/0.1492, allocations: 75.73 kB / 0.5572 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1492, allocations: 4 kB / 0.5572 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.913e-05/0.1493, allocations: 19.8 kB / 0.5572 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.1494, allocations: 23.77 kB / 0.5573 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.315e-05/0.1495, allocations: 23.97 kB / 0.5573 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1497, allocations: 99.59 kB / 0.5574 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1498, allocations: 47.94 kB / 0.5574 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.494e-05/0.1499, allocations: 43.86 kB / 0.5575 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.15, allocations: 43.78 kB / 0.5575 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.15, allocations: 16 kB / 0.5575 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.15, allocations: 8 kB / 0.5575 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.15, allocations: 23.92 kB / 0.5575 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1501, allocations: 51.8 kB / 0.5576 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1503, allocations: 123.5 kB / 0.5577 GB, free: 3.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1503, allocations: 0 / 0.5577 GB, free: 3.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1503, allocations: 0 / 0.5577 GB, free: 3.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1503, allocations: 0 / 0.5577 GB, free: 3.258 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005519/0.1509, allocations: 399.3 kB / 0.5581 GB, free: 2.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1509, allocations: 12.03 kB / 0.5581 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.151, allocations: 46.73 kB / 0.5581 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.151, allocations: 16.84 kB / 0.5582 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1511, allocations: 168.3 kB / 0.5583 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1512, allocations: 12.61 kB / 0.5583 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1512, allocations: 8.375 kB / 0.5583 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1514, allocations: 133.5 kB / 0.5585 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1514, allocations: 3.938 kB / 0.5585 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1514, allocations: 4 kB / 0.5585 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1515, allocations: 8 kB / 0.5585 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1516, allocations: 59.97 kB / 0.5585 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.1525, allocations: 0.7275 MB / 0.5593 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1526, allocations: 173.1 kB / 0.5594 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.1526, allocations: 80.14 kB / 0.5595 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1527, allocations: 79.22 kB / 0.5596 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.1527, allocations: 109.8 kB / 0.5597 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.1527, allocations: 0 / 0.5597 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.1528, allocations: 29.7 kB / 0.5597 GB, free: 1.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1529, allocations: 130.7 kB / 0.5598 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.153, allocations: 159.3 kB / 0.56 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.153, allocations: 29.64 kB / 0.56 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1531, allocations: 119.9 kB / 0.5601 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.1531, allocations: 0 / 0.5601 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1531, allocations: 21.67 kB / 0.5601 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1533, allocations: 322.8 kB / 0.5605 GB, free: 196 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.1533, allocations: 12 kB / 0.5605 GB, free: 184 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.1533, allocations: 49.08 kB / 0.5605 GB, free: 116 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.1534, allocations: 53.09 kB / 0.5606 GB, free: 44 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1534, allocations: 0 / 0.5606 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.1536, allocations: 69.56 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1536, allocations: 8 kB / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1536, allocations: 0 / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1536, allocations: 192 / 0.5606 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.1537, allocations: 23.98 kB / 0.5607 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1537, allocations: 3.938 kB / 0.5607 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.1537, allocations: 15.83 kB / 0.5607 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1537, allocations: 4 kB / 0.5607 GB, free: 15.91 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1539, allocations: 189.1 kB / 0.5609 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.1539, allocations: 108.9 kB / 0.561 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1541, allocations: 128.6 kB / 0.5611 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-05/0.1541, allocations: 180.3 kB / 0.5613 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/0.1542, allocations: 180.2 kB / 0.5614 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.108e-05/0.1543, allocations: 184.3 kB / 0.5616 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.1546, allocations: 437.2 kB / 0.562 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/0.1547, allocations: 108.9 kB / 0.5621 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.1547, allocations: 109 kB / 0.5622 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.064e-05/0.1548, allocations: 184.2 kB / 0.5624 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/0.1549, allocations: 176.3 kB / 0.5626 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.1549, allocations: 176.3 kB / 0.5627 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.836e-05/0.155, allocations: 184.2 kB / 0.5629 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1552, allocations: 319.6 kB / 0.5632 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1553, allocations: 190 kB / 0.5634 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.1554, allocations: 180.3 kB / 0.5636 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1555, allocations: 113 kB / 0.5637 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.1556, allocations: 184.3 kB / 0.5639 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.1556, allocations: 112.9 kB / 0.564 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.098e-05/0.1557, allocations: 107.3 kB / 0.5641 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1557, allocations: 0 / 0.5641 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.156, allocations: 19.94 kB / 0.5641 GB, free: 12.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004663/0.1565, allocations: 0.8048 MB / 0.5649 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.1565, allocations: 23.88 kB / 0.5649 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1565, allocations: 0 / 0.5649 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1565, allocations: 0 / 0.5649 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.157, allocations: 471.1 kB / 0.5653 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1585, allocations: 1.583 MB / 0.5669 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1588, allocations: 0.6924 MB / 0.5676 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.544e-05/0.1588, allocations: 4 kB / 0.5676 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.1589, allocations: 27.42 kB / 0.5676 GB, free: 8.434 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1589, allocations: 0 / 0.5676 GB, free: 8.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1833, allocations: 1.606 MB / 0.5692 GB, free: 6.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.871, allocations: 6.562 kB / 0.5692 GB, free: 6.906 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gyrator.v1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.140500945970416]