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.001289/0.001289, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001496/0.001496, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2329/0.2329, allocations: 46.93 MB / 360.9 MB, free: 4.281 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.00201/0.00201, allocations: 75.88 kB / 0.4961 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 66.03 MB / 0.5606 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.0031/0.3497, allocations: 1.729 MB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000183/0.3499, allocations: 87.66 kB / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.3499, allocations: 0 / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.619e-05/0.35, allocations: 19.84 kB / 0.5624 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.35, allocations: 15.8 kB / 0.5624 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.897e-05/0.3501, allocations: 23.97 kB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3503, allocations: 103.6 kB / 0.5626 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3505, allocations: 51.47 kB / 0.5626 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.3506, allocations: 39.86 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3507, allocations: 47.78 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.3507, allocations: 12 kB / 0.5627 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.133e-05/0.3507, allocations: 12 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.3508, allocations: 23.92 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.3508, allocations: 47.8 kB / 0.5628 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.351, allocations: 123.5 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.351, allocations: 0 / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.351, allocations: 0 / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.351, allocations: 4 kB / 0.5629 GB, free: 2.172 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.0005261/0.3515, allocations: 326.1 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3516, allocations: 12.03 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.3517, allocations: 46.73 kB / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3517, allocations: 12.84 kB / 0.5633 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3518, allocations: 114.5 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3518, allocations: 8.609 kB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3519, allocations: 16.31 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3521, allocations: 125.6 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3521, allocations: 7.938 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3521, allocations: 4 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3521, allocations: 4 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3523, allocations: 67.97 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.3531, allocations: 0.6914 MB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3533, allocations: 177 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.3533, allocations: 80.14 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3533, allocations: 75.28 kB / 0.5646 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.3534, allocations: 105.8 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3534, allocations: 4 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.618e-05/0.3535, allocations: 33.7 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.3536, allocations: 126.7 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3537, allocations: 163.7 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3537, allocations: 25.7 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.3538, allocations: 123.8 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.3538, allocations: 0 / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.3539, allocations: 21.67 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.354, allocations: 330.8 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.354, allocations: 4 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.3541, allocations: 41.14 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.3542, allocations: 57.09 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3542, allocations: 0 / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001556/0.3543, allocations: 69.56 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3543, allocations: 8 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3543, allocations: 4.188 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3544, allocations: 4 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.3544, allocations: 12.06 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3544, allocations: 7.984 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.3545, allocations: 11.89 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3545, allocations: 4 kB / 0.5657 GB, free: 15.03 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.0001201/0.3546, allocations: 193.1 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.3547, allocations: 121.9 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.3548, allocations: 116.6 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-05/0.3548, allocations: 180.2 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.26e-05/0.3549, allocations: 180.2 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.263e-05/0.355, allocations: 184.2 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3553, allocations: 412.2 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-05/0.3553, allocations: 105 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.3554, allocations: 101 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.786e-05/0.3555, allocations: 184.4 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.3555, allocations: 180.3 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-05/0.3556, allocations: 188.2 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.406e-05/0.3557, allocations: 176.3 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3559, allocations: 315.6 kB / 0.5682 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3559, allocations: 112.9 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.356, allocations: 184.2 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.3561, allocations: 105 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.3562, allocations: 192.1 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.3562, allocations: 108.9 kB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.471e-05/0.3563, allocations: 114.2 kB / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3563, allocations: 0 / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.3566, allocations: 15.94 kB / 0.569 GB, free: 11.44 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.0004603/0.357, allocations: 0.8126 MB / 0.5698 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3571, allocations: 19.94 kB / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3571, allocations: 0 / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3571, allocations: 0 / 0.5698 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3575, allocations: 460 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3591, allocations: 1.59 MB / 0.5718 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3594, allocations: 0.6924 MB / 0.5725 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.3595, allocations: 4 kB / 0.5725 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.3595, allocations: 31.42 kB / 0.5725 GB, free: 7.668 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3595, allocations: 0 / 0.5725 GB, free: 7.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3876, allocations: 1.736 MB / 0.5742 GB, free: 6.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.29, allocations: 6.516 kB / 0.5742 GB, free: 6.062 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.301742152994848]