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.001782/0.001782, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.002118/0.002118, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.5 MB / 257.4 MB, free: 8.004 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.2505/0.2505, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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.003003/0.003003, allocations: 75.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.376, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003219/0.3792, allocations: 1.74 MB / 0.5624 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.3794, allocations: 75.67 kB / 0.5625 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.3795, allocations: 4 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.306e-05/0.3796, allocations: 19.84 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.3796, allocations: 19.78 kB / 0.5625 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.3797, allocations: 27.97 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.3799, allocations: 95.59 kB / 0.5626 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3801, allocations: 53.77 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.3801, allocations: 39.88 kB / 0.5627 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.3802, allocations: 51.77 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3803, allocations: 12 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.3803, allocations: 8 kB / 0.5628 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.3803, allocations: 23.92 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.3804, allocations: 47.8 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.3805, allocations: 119.5 kB / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3805, allocations: 0 / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3805, allocations: 0 / 0.563 GB, free: 1.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3806, allocations: 0 / 0.563 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.0004914/0.381, allocations: 334.1 kB / 0.5633 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3811, allocations: 8.031 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.3811, allocations: 46.69 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.3812, allocations: 16.84 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3813, allocations: 114.5 kB / 0.5635 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3813, allocations: 8.609 kB / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3813, allocations: 16.31 kB / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3815, allocations: 125.6 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3816, allocations: 7.938 kB / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3816, allocations: 8 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3816, allocations: 0 / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3817, allocations: 63.98 kB / 0.5637 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3826, allocations: 0.6914 MB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.3827, allocations: 169.1 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.3828, allocations: 92.14 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3828, allocations: 75.28 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.3829, allocations: 105.8 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3829, allocations: 4 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.383, allocations: 29.7 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.383, allocations: 130.7 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3832, allocations: 159.4 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3832, allocations: 25.7 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3833, allocations: 123.8 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.3833, allocations: 0 / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3833, allocations: 25.66 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3835, allocations: 322.8 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.3835, allocations: 4 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.3835, allocations: 45.14 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.3836, allocations: 57.09 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3836, allocations: 0 / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001662/0.3838, allocations: 69.56 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3838, allocations: 8.188 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3838, allocations: 4 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3838, allocations: 0 / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.3839, allocations: 19.92 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3839, allocations: 0 / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.384, allocations: 11.89 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.384, allocations: 4 kB / 0.5658 GB, free: 14.81 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.0001334/0.3841, allocations: 193.2 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.3842, allocations: 117.9 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.3843, allocations: 116.6 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.3843, allocations: 184.3 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.572e-05/0.3844, allocations: 180.2 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/0.3845, allocations: 180.2 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3848, allocations: 412.1 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/0.3848, allocations: 113 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3849, allocations: 105 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.928e-05/0.3849, allocations: 184.4 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.385, allocations: 176.3 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-05/0.3851, allocations: 188.2 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.099e-05/0.3852, allocations: 176.3 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3853, allocations: 319.6 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.3854, allocations: 108.9 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.3855, allocations: 184.2 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.3856, allocations: 105.1 kB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.3857, allocations: 196.2 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.3857, allocations: 108.9 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.626e-05/0.3858, allocations: 109.8 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3858, allocations: 0 / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3861, allocations: 19.94 kB / 0.5691 GB, free: 11.21 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.0004637/0.3865, allocations: 0.8048 MB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.3866, allocations: 23.92 kB / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3866, allocations: 0 / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3866, allocations: 0 / 0.5699 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.387, allocations: 468 kB / 0.5704 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3886, allocations: 1.584 MB / 0.5719 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3889, allocations: 0.6924 MB / 0.5726 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.3889, allocations: 0 / 0.5726 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.389, allocations: 31.42 kB / 0.5726 GB, free: 7.453 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.389, allocations: 0 / 0.5726 GB, free: 7.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4173, allocations: 1.734 MB / 0.5743 GB, free: 5.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.24, allocations: 12 kB / 0.5743 GB, free: 5.809 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.468860962995677]