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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001545/0.001545, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2303/0.2303, allocations: 46.97 MB / 360.9 MB, free: 4.016 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.002279/0.002279, allocations: 71.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003249/0.3173, allocations: 1.674 MB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.3175, allocations: 75.61 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.3176, allocations: 4 kB / 0.5623 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.314e-05/0.3176, allocations: 15.84 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.3177, allocations: 19.8 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.3178, allocations: 27.97 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.318, allocations: 99.58 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3181, allocations: 41.78 kB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.3182, allocations: 47.86 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.3183, allocations: 39.78 kB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.3183, allocations: 8 kB / 0.5626 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.228e-05/0.3183, allocations: 15.94 kB / 0.5626 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.3183, allocations: 19.98 kB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.3184, allocations: 43.8 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3186, allocations: 123.5 kB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3186, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3186, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3186, allocations: 0 / 0.5628 GB, free: 1.961 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.0005225/0.3191, allocations: 326.2 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3192, allocations: 8.031 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.3192, allocations: 46.73 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3192, allocations: 16.84 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3194, allocations: 114.4 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3194, allocations: 8.609 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3194, allocations: 12.38 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.3196, allocations: 125.6 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3196, allocations: 3.938 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3197, allocations: 8 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3197, allocations: 8 kB / 0.5634 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3198, allocations: 67.91 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.3207, allocations: 0.6641 MB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3208, allocations: 173.1 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.3208, allocations: 80.14 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.3209, allocations: 79.27 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.798e-05/0.321, allocations: 109.8 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.321, allocations: 0 / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.887e-05/0.321, allocations: 37.64 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.3211, allocations: 130.6 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3213, allocations: 153.5 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.3213, allocations: 25.7 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.3214, allocations: 127.8 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.3214, allocations: 0 / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3214, allocations: 21.72 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3216, allocations: 322.7 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.3216, allocations: 11.98 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.3217, allocations: 41.16 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.3217, allocations: 53.09 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3218, allocations: 0 / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001633/0.3219, allocations: 77.52 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3219, allocations: 10.94 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3219, allocations: 7.984 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.322, allocations: 4 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.322, allocations: 12 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.322, allocations: 4 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.3221, allocations: 7.891 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3221, allocations: 4.125 kB / 0.5656 GB, free: 14.84 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.0001316/0.3222, allocations: 193.1 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.3223, allocations: 118 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.3224, allocations: 120.6 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.417e-05/0.3225, allocations: 180.2 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.379e-05/0.3226, allocations: 184.3 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.779e-05/0.3226, allocations: 180.2 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.3229, allocations: 408.2 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.323, allocations: 105 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.323, allocations: 108.9 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.3231, allocations: 176.4 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/0.3232, allocations: 184.3 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.239e-05/0.3233, allocations: 184.2 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.629e-05/0.3233, allocations: 176.3 kB / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3235, allocations: 315.7 kB / 0.5681 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.3236, allocations: 116.9 kB / 0.5682 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.19e-05/0.3237, allocations: 184.2 kB / 0.5684 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3238, allocations: 109 kB / 0.5685 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.3239, allocations: 184.1 kB / 0.5686 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.3239, allocations: 108.9 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.324, allocations: 111.3 kB / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3243, allocations: 12 kB / 0.5689 GB, free: 11.26 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.00048/0.3248, allocations: 0.8087 MB / 0.5696 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.3249, allocations: 19.94 kB / 0.5697 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3249, allocations: 0 / 0.5697 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.3249, allocations: 4 kB / 0.5697 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.3254, allocations: 463.6 kB / 0.5701 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3275, allocations: 1.588 MB / 0.5717 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3276, allocations: 85.69 kB / 0.5717 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.383e-05/0.3276, allocations: 4 kB / 0.5717 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.3277, allocations: 27.42 kB / 0.5718 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3277, allocations: 0 / 0.5718 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.3565, allocations: 2.104 MB / 0.5738 GB, free: 6.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.69, allocations: 8 kB / 0.5738 GB, free: 6.125 MB / 414.1 MB " [Timeout remaining time 648] (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.60560296382755]