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.001669/0.001669, allocations: 120.8 kB / 20.33 MB, free: 1.566 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.002148/0.002148, allocations: 208.9 kB / 23.6 MB, free: 4.949 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.502/1.502, allocations: 230.5 MB / 257.3 MB, free: 8.043 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.2569/0.2569, allocations: 44.92 MB / 358.6 MB, free: 6.332 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.002821/0.002821, allocations: 63.89 kB / 0.4927 GB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3807, allocations: 65.47 MB / 0.5566 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003409/0.3841, allocations: 1.736 MB / 0.5583 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002025/0.3843, allocations: 79.64 kB / 0.5584 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.3844, allocations: 3.938 kB / 0.5584 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.3845, allocations: 15.86 kB / 0.5584 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.3846, allocations: 23.78 kB / 0.5584 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.3847, allocations: 23.97 kB / 0.5585 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3848, allocations: 103.6 kB / 0.5586 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.385, allocations: 49.77 kB / 0.5586 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.3851, allocations: 39.86 kB / 0.5586 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3852, allocations: 43.84 kB / 0.5587 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.3852, allocations: 12 kB / 0.5587 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.3853, allocations: 15.94 kB / 0.5587 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.3853, allocations: 19.98 kB / 0.5587 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.3854, allocations: 55.67 kB / 0.5588 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3856, allocations: 119.5 kB / 0.5589 GB, free: 5.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3856, allocations: 0 / 0.5589 GB, free: 5.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3856, allocations: 4 kB / 0.5589 GB, free: 5.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3856, allocations: 0 / 0.5589 GB, free: 5.457 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.0005316/0.3861, allocations: 330.2 kB / 0.5592 GB, free: 5.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3861, allocations: 8.031 kB / 0.5592 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.3862, allocations: 38.75 kB / 0.5593 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3862, allocations: 12.84 kB / 0.5593 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3863, allocations: 122.4 kB / 0.5594 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3864, allocations: 8.609 kB / 0.5594 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.3864, allocations: 8.375 kB / 0.5594 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3866, allocations: 137.6 kB / 0.5595 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3866, allocations: 3.938 kB / 0.5595 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3866, allocations: 4 kB / 0.5595 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3866, allocations: 4 kB / 0.5595 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3868, allocations: 63.92 kB / 0.5596 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.3876, allocations: 0.6875 MB / 0.5603 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.3876, allocations: 177.1 kB / 0.5604 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3877, allocations: 80.14 kB / 0.5605 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3877, allocations: 75.28 kB / 0.5606 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.3878, allocations: 109.8 kB / 0.5607 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.3878, allocations: 0 / 0.5607 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.245e-05/0.3879, allocations: 33.69 kB / 0.5607 GB, free: 3.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.3879, allocations: 130.6 kB / 0.5609 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3881, allocations: 149.5 kB / 0.561 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3881, allocations: 25.7 kB / 0.561 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.3882, allocations: 123.8 kB / 0.5611 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.3882, allocations: 4 kB / 0.5611 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3882, allocations: 25.66 kB / 0.5612 GB, free: 2.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3884, allocations: 322.7 kB / 0.5615 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.3884, allocations: 11.94 kB / 0.5615 GB, free: 2.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.3884, allocations: 45.14 kB / 0.5615 GB, free: 2.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.3885, allocations: 53.09 kB / 0.5616 GB, free: 2.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3885, allocations: 0 / 0.5616 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001524/0.3887, allocations: 73.56 kB / 0.5617 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3887, allocations: 8 kB / 0.5617 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3887, allocations: 0 / 0.5617 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3887, allocations: 3.938 kB / 0.5617 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.3888, allocations: 15.98 kB / 0.5617 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3888, allocations: 0 / 0.5617 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.3888, allocations: 15.89 kB / 0.5617 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3888, allocations: 4 kB / 0.5617 GB, free: 2.324 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.0001281/0.389, allocations: 197.3 kB / 0.5619 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.3891, allocations: 117.9 kB / 0.562 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.3891, allocations: 120.6 kB / 0.5621 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-05/0.3892, allocations: 180.2 kB / 0.5623 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-05/0.3893, allocations: 176.3 kB / 0.5625 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.708e-05/0.3894, allocations: 180.2 kB / 0.5626 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3896, allocations: 412.2 kB / 0.563 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-05/0.3897, allocations: 109 kB / 0.5631 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3897, allocations: 108.9 kB / 0.5632 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.536e-05/0.3898, allocations: 176.4 kB / 0.5634 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/0.3899, allocations: 176.3 kB / 0.5636 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.39, allocations: 196.2 kB / 0.5638 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.982e-05/0.3901, allocations: 176.4 kB / 0.5639 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.3902, allocations: 323.6 kB / 0.5642 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3903, allocations: 108.9 kB / 0.5643 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.3904, allocations: 188.2 kB / 0.5645 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.3905, allocations: 113 kB / 0.5646 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.3906, allocations: 180.2 kB / 0.5648 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.3906, allocations: 104.9 kB / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.3907, allocations: 114.1 kB / 0.565 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3907, allocations: 0 / 0.565 GB, free: 14.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.3909, allocations: 19.92 kB / 0.565 GB, free: 14.72 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.0004444/0.3914, allocations: 0.8087 MB / 0.5658 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.3915, allocations: 23.86 kB / 0.5658 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3915, allocations: 0 / 0.5658 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-06/0.3915, allocations: 4 kB / 0.5658 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3919, allocations: 460 kB / 0.5663 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3933, allocations: 1.584 MB / 0.5678 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.663e-05/0.3934, allocations: 73.33 kB / 0.5679 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.3934, allocations: 11.98 kB / 0.5679 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.3935, allocations: 27.44 kB / 0.5679 GB, free: 11.58 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3935, allocations: 0 / 0.5679 GB, free: 11.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4223, allocations: 1.729 MB / 0.5696 GB, free: 9.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.44, allocations: 22.16 kB / 0.5696 GB, free: 9.961 MB / 414.1 MB " [Timeout remaining time 648] (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.681124982889742]