Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001778/0.001778, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002243/0.002243, allocations: 215.3 kB / 23.74 MB, free: 4.656 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 47.94 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3463, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003417/0.3497, allocations: 1.895 MB / 433 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.3507, allocations: 0.4948 MB / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3508, allocations: 4 kB / 433.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.3509, allocations: 15.75 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.351, allocations: 27.78 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3511, allocations: 31.97 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3513, allocations: 107.6 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3514, allocations: 29.58 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.3515, allocations: 35.92 kB / 433.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.3516, allocations: 43.78 kB / 433.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3516, allocations: 8 kB / 433.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.3516, allocations: 8 kB / 433.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.3517, allocations: 27.84 kB / 433.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.3517, allocations: 51.73 kB / 433.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3519, allocations: 99.97 kB / 434 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3519, allocations: 4 kB / 434 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3519, allocations: 0 / 434 MB, free: 3.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3519, allocations: 0 / 434 MB, free: 3.965 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000592/0.3525, allocations: 330.1 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3526, allocations: 12.03 kB / 434.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.3526, allocations: 42.73 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3526, allocations: 8.891 kB / 434.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3529, allocations: 138.4 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3529, allocations: 4.562 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.353, allocations: 20.06 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.3532, allocations: 121.5 kB / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3533, allocations: 4 kB / 434.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3533, allocations: 4 kB / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3533, allocations: 0 / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.3535, allocations: 75.88 kB / 434.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.3542, allocations: 474.7 kB / 435.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3544, allocations: 86.53 kB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3546, allocations: 36.84 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3546, allocations: 0 / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3546, allocations: 34.56 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3546, allocations: 0 / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004061/0.355, allocations: 129.9 kB / 435.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3551, allocations: 51.41 kB / 435.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3552, allocations: 136.5 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3552, allocations: 25.7 kB / 435.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.3553, allocations: 108 kB / 435.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3553, allocations: 31.73 kB / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3554, allocations: 29.66 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3555, allocations: 322.8 kB / 436.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3556, allocations: 39.97 kB / 436.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3557, allocations: 60.27 kB / 436.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.356, allocations: 100.2 kB / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.356, allocations: 0 / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003289/0.3563, allocations: 137.5 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3563, allocations: 4 kB / 436.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3563, allocations: 8.219 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3563, allocations: 3.938 kB / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3565, allocations: 35.91 kB / 436.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3565, allocations: 4 kB / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.3566, allocations: 11.95 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3566, allocations: 4 kB / 436.6 MB, free: 1.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 13 * 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.0001034/0.3567, allocations: 125.7 kB / 436.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3567, allocations: 7.953 kB / 436.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.3568, allocations: 16.38 kB / 436.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3568, allocations: 3.984 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3568, allocations: 0 / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3568, allocations: 3.938 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.357, allocations: 172.6 kB / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.357, allocations: 0 / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.3571, allocations: 19.98 kB / 436.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3571, allocations: 4 kB / 436.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3571, allocations: 3.938 kB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3571, allocations: 0 / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3571, allocations: 4 kB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3576, allocations: 235.3 kB / 437.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.3576, allocations: 11.98 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3576, allocations: 4 kB / 437.2 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.3577, allocations: 4 kB / 437.2 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.3577, allocations: 15.92 kB / 437.2 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3577, allocations: 4 kB / 437.2 MB, free: 468 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.3578, allocations: 99.27 kB / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3581, allocations: 19.94 kB / 437.3 MB, free: 348 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * 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 (7): * Single equations (assignments): 7 * 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.0007482/0.3588, allocations: 0.7635 MB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3591, allocations: 83.81 kB / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3591, allocations: 0 / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3592, allocations: 40.03 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3596, allocations: 24.36 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3619, allocations: 1.743 MB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3623, allocations: 0.7002 MB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.3623, allocations: 8.422 kB / 440.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.3624, allocations: 31.42 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3624, allocations: 0 / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.3947, allocations: 2.545 MB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 6.562 kB / 443.3 MB, free: 10.38 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PI.y in file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.667121525002585]