Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001448/0.001448, 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.00153/0.00153, allocations: 212.4 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.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3396, allocations: 53.4 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003824/0.3435, allocations: 1.903 MB / 433.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.3444, allocations: 0.4909 MB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3445, allocations: 15.88 kB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3447, allocations: 7.875 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.3447, allocations: 23.78 kB / 433.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.3449, allocations: 31.97 kB / 433.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3451, allocations: 103.6 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3452, allocations: 33.56 kB / 433.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.3453, allocations: 39.86 kB / 433.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.3454, allocations: 47.77 kB / 433.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3454, allocations: 8 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3454, allocations: 12 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3455, allocations: 15.94 kB / 433.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.3455, allocations: 51.72 kB / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3457, allocations: 99.97 kB / 434 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3457, allocations: 4 kB / 434 MB, free: 3.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3457, allocations: 0 / 434 MB, free: 3.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3457, allocations: 0 / 434 MB, free: 3.77 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.0005908/0.3463, allocations: 330.1 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3464, allocations: 19.97 kB / 434.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.3464, allocations: 38.73 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.3465, allocations: 12.89 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3467, allocations: 126.4 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3467, allocations: 8.562 kB / 434.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.3467, allocations: 16.12 kB / 434.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.347, allocations: 126.8 kB / 434.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.347, allocations: 4 kB / 434.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3471, allocations: 7.938 kB / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3471, allocations: 0 / 434.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3473, allocations: 71.94 kB / 434.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.348, allocations: 474.7 kB / 435.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3482, allocations: 82.53 kB / 435.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3483, allocations: 36.84 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3483, allocations: 0 / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3484, allocations: 38.55 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3484, allocations: 4 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004173/0.3488, allocations: 117.7 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3488, allocations: 55.41 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.349, allocations: 128.6 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.349, allocations: 29.7 kB / 435.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.3491, allocations: 112.1 kB / 435.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3491, allocations: 35.72 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3492, allocations: 29.72 kB / 435.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3493, allocations: 322.8 kB / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3494, allocations: 31.97 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3495, allocations: 64.27 kB / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3497, allocations: 104.2 kB / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3497, allocations: 0 / 436.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003011/0.35, allocations: 145.4 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3501, allocations: 4 kB / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3501, allocations: 0 / 436.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3501, allocations: 4 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.3503, allocations: 31.97 kB / 436.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3503, allocations: 96 / 436.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.3503, allocations: 15.89 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3504, allocations: 11.98 kB / 436.6 MB, free: 0.9531 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.0001118/0.3505, allocations: 129.8 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3505, allocations: 7.953 kB / 436.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.3505, allocations: 12.38 kB / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3505, allocations: 0 / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3505, allocations: 0 / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3505, allocations: 0 / 436.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3508, allocations: 168.6 kB / 436.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3508, allocations: 0 / 436.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3509, allocations: 23.98 kB / 437 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3509, allocations: 7.938 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3509, allocations: 4 kB / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3509, allocations: 0 / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3509, allocations: 0 / 437 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.3514, allocations: 247.6 kB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.3514, allocations: 11.95 kB / 437.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3514, allocations: 0 / 437.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.3515, allocations: 8 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3516, allocations: 3.984 kB / 437.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3516, allocations: 4 kB / 437.2 MB, free: 272 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.3516, allocations: 95.27 kB / 437.3 MB, free: 176 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3516, allocations: 0 / 437.3 MB, free: 176 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3519, allocations: 23.94 kB / 437.4 MB, free: 152 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.0007334/0.3526, allocations: 0.7709 MB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3529, allocations: 72.12 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3529, allocations: 4.062 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.353, allocations: 35.97 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3534, allocations: 30.8 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3556, allocations: 1.74 MB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.356, allocations: 0.7002 MB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.356, allocations: 4.438 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.3561, allocations: 31.42 kB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3561, allocations: 0 / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.3886, allocations: 2.547 MB / 443.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.05, allocations: 14.94 kB / 443.3 MB, free: 10.16 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv. Warning: Get data of variable PI.y from file Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.868490282002313]