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.001824/0.001824, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002211/0.002211, allocations: 214 kB / 23.73 MB, free: 4.406 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.001995/0.001995, allocations: 59.89 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2904, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00362/0.294, allocations: 1.841 MB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.2949, allocations: 466.8 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.295, allocations: 11.88 kB / 433.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2951, allocations: 11.86 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.2952, allocations: 23.8 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.2953, allocations: 27.97 kB / 433.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2955, allocations: 103.6 kB / 433.6 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2956, allocations: 31.25 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.41e-05/0.2957, allocations: 51.78 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.2958, allocations: 39.78 kB / 433.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2958, allocations: 8 kB / 433.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.2959, allocations: 8 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.2959, allocations: 19.92 kB / 433.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.2959, allocations: 31.88 kB / 433.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.2961, allocations: 111.5 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2961, allocations: 0 / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2961, allocations: 0 / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2961, allocations: 0 / 433.9 MB, free: 3.684 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.000563/0.2967, allocations: 338.1 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2967, allocations: 11.98 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.2968, allocations: 42.73 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.2968, allocations: 8.891 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2971, allocations: 134.4 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2971, allocations: 8.562 kB / 434.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.2971, allocations: 20.06 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.2974, allocations: 126.7 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2974, allocations: 4 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2974, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2974, allocations: 4 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.2976, allocations: 67.94 kB / 434.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.2983, allocations: 458.9 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2985, allocations: 78.55 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2986, allocations: 40.83 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2986, allocations: 0 / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2987, allocations: 34.56 kB / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.2987, allocations: 0 / 435.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003953/0.2991, allocations: 117.6 kB / 435.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2991, allocations: 59.33 kB / 435.4 MB, free: 2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2992, allocations: 128.6 kB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2992, allocations: 33.7 kB / 435.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.2993, allocations: 115.9 kB / 435.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.2993, allocations: 31.92 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.2994, allocations: 29.67 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2995, allocations: 318.8 kB / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2996, allocations: 39.91 kB / 436.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2998, allocations: 71.33 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3, allocations: 108.2 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3, allocations: 0 / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002831/0.3003, allocations: 133.5 kB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3003, allocations: 8 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3003, allocations: 128 / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3003, allocations: 11.98 kB / 436.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3005, allocations: 31.92 kB / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3005, allocations: 320 / 436.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.3006, allocations: 11.98 kB / 436.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3006, allocations: 8 kB / 436.5 MB, free: 0.875 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.000105/0.3007, allocations: 125.7 kB / 436.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3007, allocations: 7.953 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.3007, allocations: 8.375 kB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3007, allocations: 8 kB / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3007, allocations: 0 / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3007, allocations: 0 / 436.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3009, allocations: 168.6 kB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3009, allocations: 0 / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3011, allocations: 19.98 kB / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3011, allocations: 0 / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3011, allocations: 0 / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3011, allocations: 7.984 kB / 436.8 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3011, allocations: 0 / 436.8 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.3015, allocations: 243.3 kB / 437 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3015, allocations: 12 kB / 437.1 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3015, allocations: 3.984 kB / 437.1 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.3016, allocations: 4 kB / 437.1 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3017, allocations: 3.984 kB / 437.1 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3017, allocations: 4 kB / 437.1 MB, free: 204 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.3017, allocations: 99.27 kB / 437.2 MB, free: 104 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3017, allocations: 0 / 437.2 MB, free: 104 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.302, allocations: 23.94 kB / 437.2 MB, free: 80 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.0006705/0.3026, allocations: 0.7671 MB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3029, allocations: 79.89 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3029, allocations: 0 / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.303, allocations: 40.16 kB / 438.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3033, allocations: 18.73 kB / 438.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3054, allocations: 1.744 MB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.849e-05/0.3054, allocations: 88.16 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.3055, allocations: 8.422 kB / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.3055, allocations: 27.42 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3055, allocations: 4 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.3365, allocations: 2.971 MB / 442.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.22, allocations: 8.062 kB / 442.9 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.804068993777037]