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.001378/0.001378, allocations: 113 kB / 18.45 MB, free: 4.602 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.001378/0.001378, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.377/1.377, allocations: 225.6 MB / 249.8 MB, free: 3.727 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.001438/0.001438, allocations: 51.92 kB / 366.8 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09131, allocations: 52.14 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003153/0.09446, allocations: 1.88 MB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.09521, allocations: 458.8 kB / 421.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.0953, allocations: 4 kB / 421.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.0954, allocations: 11.86 kB / 421.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.09546, allocations: 23.8 kB / 421.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.0956, allocations: 35.89 kB / 421.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.09577, allocations: 99.64 kB / 421.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.0959, allocations: 33.38 kB / 421.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.09597, allocations: 43.8 kB / 421.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.09605, allocations: 43.78 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.09608, allocations: 8 kB / 421.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.0961, allocations: 8 kB / 421.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.09613, allocations: 23.91 kB / 421.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.09618, allocations: 43.8 kB / 421.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.09636, allocations: 103.5 kB / 421.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09636, allocations: 4 kB / 421.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09636, allocations: 0 / 421.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.09637, allocations: 0 / 421.7 MB, free: 9.32 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.000577/0.09694, allocations: 408.5 kB / 422.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.09698, allocations: 12.03 kB / 422.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.09702, allocations: 16.84 kB / 422.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.09727, allocations: 192.2 kB / 422.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.09729, allocations: 12.56 kB / 422.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.09732, allocations: 12.38 kB / 422.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.09759, allocations: 119.2 kB / 422.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.09761, allocations: 4 kB / 422.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.09762, allocations: 4 kB / 422.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.09763, allocations: 0 / 422.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.09786, allocations: 71.94 kB / 422.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.09855, allocations: 0.5286 MB / 423.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.09875, allocations: 78.55 kB / 423.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.09887, allocations: 44.83 kB / 423.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.09888, allocations: 0 / 423.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.0989, allocations: 30.56 kB / 423.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.09891, allocations: 7.922 kB / 423.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004078/0.09931, allocations: 125.8 kB / 423.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.09935, allocations: 55.41 kB / 423.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.09946, allocations: 131.5 kB / 423.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.09948, allocations: 25.7 kB / 423.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.09954, allocations: 111.9 kB / 423.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.09957, allocations: 31.73 kB / 423.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.09962, allocations: 25.72 kB / 423.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.09974, allocations: 322.8 kB / 424.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.09985, allocations: 35.97 kB / 424.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.09998, allocations: 71.02 kB / 424.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1002, allocations: 112.1 kB / 424.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1002, allocations: 0 / 424.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002894/0.1005, allocations: 129.5 kB / 424.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1005, allocations: 10.19 kB / 424.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1005, allocations: 0 / 424.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1005, allocations: 128 / 424.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1007, allocations: 35.97 kB / 424.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1007, allocations: 4 kB / 424.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.1008, allocations: 15.94 kB / 424.5 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1008, allocations: 7.938 kB / 424.5 MB, free: 6.309 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 9.568e-05/0.1009, allocations: 125.7 kB / 424.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1009, allocations: 11.95 kB / 424.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.101, allocations: 12.38 kB / 424.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.101, allocations: 4 kB / 424.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.101, allocations: 0 / 424.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.101, allocations: 96 / 424.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1012, allocations: 201.5 kB / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1012, allocations: 0 / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.1013, allocations: 23.98 kB / 424.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1013, allocations: 0 / 424.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1013, allocations: 0 / 424.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1013, allocations: 0 / 424.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.1013, allocations: 7.984 kB / 424.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.1018, allocations: 239.3 kB / 425.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.1018, allocations: 85.06 kB / 425.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1018, allocations: 4 kB / 425.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.1019, allocations: 8.031 kB / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.102, allocations: 4 kB / 425.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.102, allocations: 0 / 425.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.473e-05/0.102, allocations: 105.7 kB / 425.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.102, allocations: 0 / 425.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1023, allocations: 23.89 kB / 425.3 MB, free: 5.375 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 0.0001062/0.1024, allocations: 107.2 kB / 425.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1027, allocations: 75.89 kB / 425.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1027, allocations: 4.25 kB / 425.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1028, allocations: 40.3 kB / 425.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1031, allocations: 24.06 kB / 425.6 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.1038, allocations: 386 kB / 425.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1041, allocations: 0.7078 MB / 426.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1041, allocations: 11.44 kB / 426.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1041, allocations: 0 / 426.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of Templates: time 0.002952/0.1071, allocations: 1.284 MB / 427.9 MB, free: 2.68 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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.49857417983003]