Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.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.2438/0.2438, allocations: 44.91 MB / 358.8 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3312, allocations: 65.47 MB / 0.557 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003064/0.3343, allocations: 1.747 MB / 0.5587 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001601/0.3345, allocations: 71.73 kB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3345, allocations: 4 kB / 0.5588 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.3346, allocations: 27.72 kB / 0.5588 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.3347, allocations: 19.78 kB / 0.5588 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.928e-05/0.3347, allocations: 23.97 kB / 0.5588 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3349, allocations: 103.6 kB / 0.5589 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3351, allocations: 49.8 kB / 0.559 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3351, allocations: 39.86 kB / 0.559 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3352, allocations: 51.77 kB / 0.5591 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3352, allocations: 12 kB / 0.5591 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.3353, allocations: 8 kB / 0.5591 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.3353, allocations: 27.91 kB / 0.5591 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.3353, allocations: 43.81 kB / 0.5592 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3355, allocations: 119.5 kB / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3355, allocations: 0 / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3355, allocations: 0 / 0.5593 GB, free: 5.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3355, allocations: 0 / 0.5593 GB, free: 5.469 MB / 398.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.0005149/0.336, allocations: 330.2 kB / 0.5596 GB, free: 5.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3361, allocations: 8.031 kB / 0.5596 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.3361, allocations: 42.75 kB / 0.5596 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3362, allocations: 16.84 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3363, allocations: 118.4 kB / 0.5598 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3363, allocations: 8.609 kB / 0.5598 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3363, allocations: 12.38 kB / 0.5598 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3366, allocations: 129.5 kB / 0.5599 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3366, allocations: 7.922 kB / 0.5599 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3366, allocations: 4 kB / 0.5599 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3366, allocations: 4 kB / 0.5599 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3367, allocations: 59.98 kB / 0.56 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.3376, allocations: 0.6953 MB / 0.5607 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3377, allocations: 165.1 kB / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.3378, allocations: 88.06 kB / 0.5609 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.3378, allocations: 79.28 kB / 0.561 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.587e-05/0.3379, allocations: 113.8 kB / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3379, allocations: 0 / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.076e-05/0.3379, allocations: 29.7 kB / 0.5611 GB, free: 3.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.338, allocations: 134.6 kB / 0.5613 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3382, allocations: 152.2 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3382, allocations: 25.7 kB / 0.5614 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.3383, allocations: 127.8 kB / 0.5615 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3383, allocations: 0 / 0.5615 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3383, allocations: 29.66 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3385, allocations: 318.8 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.3385, allocations: 4 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.3385, allocations: 53.02 kB / 0.5619 GB, free: 2.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/0.3386, allocations: 57.09 kB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3386, allocations: 128 / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001552/0.3388, allocations: 73.56 kB / 0.5621 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3388, allocations: 8.188 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3388, allocations: 4 kB / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3388, allocations: 0 / 0.5621 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.3389, allocations: 15.98 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3389, allocations: 3.938 kB / 0.5621 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.3389, allocations: 11.89 kB / 0.5621 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3389, allocations: 4 kB / 0.5621 GB, free: 2.32 MB / 398.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.0001312/0.3391, allocations: 193.2 kB / 0.5623 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.3392, allocations: 118 kB / 0.5624 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.3392, allocations: 116.5 kB / 0.5625 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.308e-05/0.3393, allocations: 180.3 kB / 0.5627 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.676e-05/0.3394, allocations: 180.2 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/0.3395, allocations: 184.2 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3398, allocations: 404.3 kB / 0.5634 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/0.3398, allocations: 108.9 kB / 0.5635 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3399, allocations: 109 kB / 0.5636 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.17e-05/0.34, allocations: 180.4 kB / 0.5638 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.3401, allocations: 180.3 kB / 0.564 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.235e-05/0.3402, allocations: 180.3 kB / 0.5641 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/0.3403, allocations: 188.2 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3404, allocations: 315.6 kB / 0.5646 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.3405, allocations: 108.9 kB / 0.5647 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3406, allocations: 180.3 kB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3407, allocations: 108.9 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.3408, allocations: 188.2 kB / 0.5652 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.3408, allocations: 112.9 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.3409, allocations: 103.3 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3409, allocations: 4 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.3412, allocations: 15.94 kB / 0.5654 GB, free: 14.73 MB / 414.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.000478/0.3417, allocations: 0.8087 MB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.3418, allocations: 15.94 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3418, allocations: 0 / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.3418, allocations: 7.922 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.3422, allocations: 468 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3438, allocations: 1.584 MB / 0.5682 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.3441, allocations: 0.6924 MB / 0.5689 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.3441, allocations: 8 kB / 0.5689 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.3442, allocations: 23.42 kB / 0.5689 GB, free: 10.97 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3442, allocations: 0 / 0.5689 GB, free: 10.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.3723, allocations: 1.73 MB / 0.5706 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.02, allocations: 8 kB / 0.5706 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.276960472998326]