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.001338/0.001338, allocations: 69.72 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.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.001566/0.001566, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.419/1.419, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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: 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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 48.05 kB / 325.5 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09669, allocations: 53.35 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00337/0.1001, allocations: 1.843 MB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1011, allocations: 470.8 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1012, allocations: 0 / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.1013, allocations: 15.81 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.1014, allocations: 19.78 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1016, allocations: 35.97 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1018, allocations: 103.6 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1019, allocations: 37.5 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.102, allocations: 39.86 kB / 381.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.1021, allocations: 39.78 kB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1021, allocations: 8 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.1021, allocations: 8 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.1022, allocations: 19.92 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.1022, allocations: 43.72 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1024, allocations: 103.6 kB / 381.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1024, allocations: 0 / 381.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1024, allocations: 0 / 381.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1024, allocations: 0 / 381.7 MB, free: 12.88 MB / 350.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.0005811/0.103, allocations: 330.1 kB / 382 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.103, allocations: 12.03 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1031, allocations: 8.891 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1034, allocations: 142.3 kB / 382.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1034, allocations: 8.562 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1034, allocations: 12.27 kB / 382.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.1037, allocations: 122.5 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1037, allocations: 0 / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1037, allocations: 11.98 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1037, allocations: 4 kB / 382.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.104, allocations: 71.88 kB / 382.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006679/0.1046, allocations: 423.8 kB / 382.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1049, allocations: 86.53 kB / 382.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.105, allocations: 36.84 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.105, allocations: 3.938 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.105, allocations: 34.56 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.105, allocations: 0 / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003969/0.1054, allocations: 121.6 kB / 383.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1054, allocations: 55.41 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1056, allocations: 125.8 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1056, allocations: 29.7 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.1057, allocations: 120.1 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1057, allocations: 35.77 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.1057, allocations: 25.67 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1059, allocations: 318.8 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.106, allocations: 35.97 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1061, allocations: 68.2 kB / 383.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.1064, allocations: 108.1 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1064, allocations: 3.938 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003318/0.1067, allocations: 129.5 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1067, allocations: 8 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1067, allocations: 128 / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1067, allocations: 8 kB / 384.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1069, allocations: 39.91 kB / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1069, allocations: 0 / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.107, allocations: 11.94 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.107, allocations: 4 kB / 384.2 MB, free: 10.16 MB / 350.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.0001179/0.1071, allocations: 125.8 kB / 384.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1072, allocations: 7.953 kB / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1072, allocations: 12.38 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1072, allocations: 4 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1072, allocations: 4 kB / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1072, allocations: 0 / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1074, allocations: 137.2 kB / 384.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1074, allocations: 0 / 384.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1075, allocations: 23.92 kB / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1075, allocations: 0 / 384.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1076, allocations: 4 kB / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1076, allocations: 0 / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1076, allocations: 0 / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.108, allocations: 243.7 kB / 384.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.108, allocations: 11.89 kB / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.108, allocations: 0 / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.1081, allocations: 4 kB / 384.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1082, allocations: 12.03 kB / 384.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1082, allocations: 4 kB / 384.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.1083, allocations: 102.3 kB / 384.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1083, allocations: 96 / 384.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1085, allocations: 23.94 kB / 384.9 MB, free: 9.406 MB / 350.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.419e-05/0.1086, allocations: 103.2 kB / 385 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1089, allocations: 79.95 kB / 385 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1089, allocations: 0 / 385 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.109, allocations: 31.97 kB / 385.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1093, allocations: 32.19 kB / 385.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.11, allocations: 360.6 kB / 385.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.715e-05/0.1101, allocations: 84.31 kB / 385.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.1101, allocations: 4.5 kB / 385.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1102, allocations: 12.5 kB / 385.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1102, allocations: 0 / 385.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of Templates: time 0.003723/0.1139, allocations: 1.042 MB / 386.6 MB, free: 7.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.097521618008614]