Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 73.64 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 149.9 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.91 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09694, allocations: 52.17 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003733/0.1007, allocations: 1.853 MB / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.1017, allocations: 415 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1018, allocations: 7.938 kB / 373.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1019, allocations: 19.8 kB / 373.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.102, allocations: 23.78 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1021, allocations: 27.97 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1023, allocations: 107.6 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1025, allocations: 33.52 kB / 374 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.1025, allocations: 31.92 kB / 374.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.1026, allocations: 39.78 kB / 374.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1026, allocations: 8 kB / 374.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.341e-05/0.1027, allocations: 15.94 kB / 374.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.1027, allocations: 23.91 kB / 374.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.1028, allocations: 39.8 kB / 374.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.103, allocations: 103.5 kB / 374.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.103, allocations: 0 / 374.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.103, allocations: 0 / 374.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.103, allocations: 0 / 374.3 MB, free: 4.602 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.0005751/0.1035, allocations: 326.2 kB / 374.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1036, allocations: 12.92 kB / 374.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1036, allocations: 12.84 kB / 374.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1039, allocations: 138.4 kB / 374.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1039, allocations: 8.562 kB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1039, allocations: 12.36 kB / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1042, allocations: 119.3 kB / 374.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1042, allocations: 0 / 374.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1042, allocations: 3.984 kB / 374.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1043, allocations: 7.938 kB / 374.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1045, allocations: 75.88 kB / 375 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.1051, allocations: 431.5 kB / 375.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1053, allocations: 74.55 kB / 375.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1055, allocations: 40.77 kB / 375.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1055, allocations: 8 kB / 375.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1055, allocations: 30.56 kB / 375.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/0.1055, allocations: 4 kB / 375.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004062/0.1059, allocations: 125.9 kB / 375.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.106, allocations: 55.41 kB / 375.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1061, allocations: 125.8 kB / 375.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1061, allocations: 29.7 kB / 375.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1062, allocations: 115.9 kB / 376 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1062, allocations: 23.81 kB / 376 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1063, allocations: 37.64 kB / 376.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1064, allocations: 318.8 kB / 376.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1065, allocations: 39.92 kB / 376.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1067, allocations: 64.27 kB / 376.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.1069, allocations: 104.2 kB / 376.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1069, allocations: 3.938 kB / 376.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003054/0.1072, allocations: 141.5 kB / 376.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1072, allocations: 4 kB / 376.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1072, allocations: 0 / 376.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1072, allocations: 4 kB / 376.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1074, allocations: 31.92 kB / 376.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1074, allocations: 3.984 kB / 376.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.1075, allocations: 24.02 kB / 376.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1075, allocations: 4 kB / 376.8 MB, free: 1.879 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 9.812e-05/0.1076, allocations: 117.8 kB / 376.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1076, allocations: 7.953 kB / 376.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1077, allocations: 16.42 kB / 376.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1077, allocations: 4 kB / 376.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1077, allocations: 0 / 376.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1077, allocations: 0 / 376.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1079, allocations: 137.2 kB / 377.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1079, allocations: 0 / 377.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.108, allocations: 27.92 kB / 377.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.108, allocations: 0 / 377.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.108, allocations: 4 kB / 377.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.108, allocations: 0 / 377.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.108, allocations: 96 / 377.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.1084, allocations: 235.3 kB / 377.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1085, allocations: 11.89 kB / 377.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1085, allocations: 8.031 kB / 377.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.1086, allocations: 8 kB / 377.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1086, allocations: 7.984 kB / 377.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1086, allocations: 3.938 kB / 377.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.1087, allocations: 101.9 kB / 377.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1087, allocations: 0 / 377.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1089, allocations: 19.95 kB / 377.5 MB, free: 1.129 MB / 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 9.875e-05/0.109, allocations: 99.25 kB / 377.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1093, allocations: 79.88 kB / 377.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.1093, allocations: 4 kB / 377.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1094, allocations: 31.98 kB / 377.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1097, allocations: 23.95 kB / 377.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.1104, allocations: 369.5 kB / 378.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.1105, allocations: 92.31 kB / 378.2 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.1106, allocations: 12.42 kB / 378.2 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.1106, allocations: 12.5 kB / 378.2 MB, free: 368 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1106, allocations: 0 / 378.2 MB, free: 368 kB / 334.1 MB Notification: Performance of Templates: time 0.003729/0.1143, allocations: 1.01 MB / 379.2 MB, free: 15.36 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.188387378002517]