Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001489/0.001489, allocations: 204 kB / 23.73 MB, free: 4.379 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00328/0.3384, allocations: 1.677 MB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.3386, allocations: 75.67 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.3387, allocations: 4 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.546e-05/0.3387, allocations: 23.84 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.3388, allocations: 19.78 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.937e-05/0.3389, allocations: 23.97 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3391, allocations: 103.5 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3392, allocations: 49.77 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.3393, allocations: 35.88 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.3394, allocations: 51.77 kB / 0.5626 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3394, allocations: 16 kB / 0.5626 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.3394, allocations: 8 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.3395, allocations: 23.92 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.3395, allocations: 43.84 kB / 0.5627 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3397, allocations: 115.5 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3397, allocations: 0 / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3397, allocations: 0 / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3397, allocations: 4 kB / 0.5628 GB, free: 1.953 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.0005336/0.3402, allocations: 322.2 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3403, allocations: 12.03 kB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.3403, allocations: 46.75 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3404, allocations: 12.84 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3405, allocations: 118.4 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3405, allocations: 8.609 kB / 0.5633 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3406, allocations: 16.36 kB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.3408, allocations: 129.6 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3408, allocations: 3.938 kB / 0.5634 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3408, allocations: 4 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3408, allocations: 4 kB / 0.5634 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3409, allocations: 63.92 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.3418, allocations: 0.6796 MB / 0.5641 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3419, allocations: 169.1 kB / 0.5643 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.3419, allocations: 80.14 kB / 0.5644 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.3419, allocations: 75.28 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.616e-05/0.342, allocations: 113.8 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.342, allocations: 0 / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.255e-05/0.3421, allocations: 33.64 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3422, allocations: 126.7 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3423, allocations: 156.2 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.3423, allocations: 25.7 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.3424, allocations: 131.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.3424, allocations: 3.984 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3425, allocations: 17.72 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3426, allocations: 326.8 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.3426, allocations: 8 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3428, allocations: 37.16 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.3428, allocations: 61.02 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3428, allocations: 0 / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000152/0.343, allocations: 77.52 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.343, allocations: 4 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.343, allocations: 4 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.343, allocations: 192 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.3431, allocations: 16.12 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3431, allocations: 4 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3432, allocations: 15.89 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3432, allocations: 0 / 0.5656 GB, free: 14.83 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 (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.0001326/0.3433, allocations: 205 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.3434, allocations: 110 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.3434, allocations: 112.6 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.861e-05/0.3435, allocations: 184.2 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.174e-05/0.3436, allocations: 180.2 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.105e-05/0.3437, allocations: 184.1 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.344, allocations: 408.3 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/0.3441, allocations: 101 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.3441, allocations: 112.9 kB / 0.5671 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.492e-05/0.3442, allocations: 180.4 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.3443, allocations: 184.2 kB / 0.5674 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.095e-05/0.3444, allocations: 180.3 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.138e-05/0.3445, allocations: 180.3 kB / 0.5678 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3447, allocations: 315.6 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3448, allocations: 112.9 kB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.3449, allocations: 184.3 kB / 0.5684 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.345, allocations: 113 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.345, allocations: 180.2 kB / 0.5686 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.3451, allocations: 108.9 kB / 0.5688 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.227e-05/0.3452, allocations: 107.3 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3452, allocations: 3.938 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3454, allocations: 16 kB / 0.5689 GB, free: 11.24 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.0004969/0.3459, allocations: 0.8087 MB / 0.5697 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.346, allocations: 15.92 kB / 0.5697 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.346, allocations: 384 / 0.5697 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.346, allocations: 12 kB / 0.5697 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3464, allocations: 458 kB / 0.5701 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3479, allocations: 1.586 MB / 0.5717 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.31e-05/0.348, allocations: 77.33 kB / 0.5717 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.348, allocations: 7.984 kB / 0.5718 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.3481, allocations: 23.44 kB / 0.5718 GB, free: 8.105 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3481, allocations: 0 / 0.5718 GB, free: 8.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3778, allocations: 2.143 MB / 0.5739 GB, free: 6.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.98, allocations: 3.125 kB / 0.5739 GB, free: 6.086 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v1 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.v2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.v2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i1 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i1 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! Error: Could not read variable gyrator.i2 in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv. Warning: Get data of variable gyrator.i2 from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.026243542000884]