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.001205/0.001205, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001311/0.001311, allocations: 158.5 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9832/0.9832, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 274.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.191e-05, allocations: 2.312 kB / 274.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002364/0.002386, allocations: 1.914 MB / 276 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.00312, allocations: 481.5 kB / 276.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.003204, allocations: 7.938 kB / 276.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.576e-05/0.0033, allocations: 7.875 kB / 276.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.003359, allocations: 26.88 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.003482, allocations: 31.91 kB / 276.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.003604, allocations: 107.5 kB / 276.6 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003706, allocations: 33.52 kB / 276.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.003786, allocations: 55.88 kB / 276.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.003844, allocations: 35.89 kB / 276.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.003863, allocations: 9.688 kB / 276.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.003876, allocations: 8 kB / 276.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.003898, allocations: 19.92 kB / 276.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.003928, allocations: 35.91 kB / 276.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.004049, allocations: 63.8 kB / 276.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004051, allocations: 0.625 kB / 276.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004052, allocations: 0 / 276.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.004057, allocations: 0.5625 kB / 276.9 MB, free: 1.492 MB / 250.7 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.0003838/0.004441, allocations: 437 kB / 277.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.004474, allocations: 12.03 kB / 277.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.004511, allocations: 16.89 kB / 277.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.004658, allocations: 140.4 kB / 277.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.004667, allocations: 4.562 kB / 277.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.004688, allocations: 12.38 kB / 277.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.004829, allocations: 121.3 kB / 277.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.004838, allocations: 3.953 kB / 277.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.004847, allocations: 4 kB / 277.6 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004852, allocations: 4 kB / 277.6 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.004893, allocations: 27.97 kB / 277.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.00532, allocations: 0.5171 MB / 278.2 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.005408, allocations: 63.03 kB / 278.3 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.005442, allocations: 23.67 kB / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.005449, allocations: 0 / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.005468, allocations: 37.48 kB / 278.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.005469, allocations: 0 / 278.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001308/0.005599, allocations: 73.73 kB / 278.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.005624, allocations: 59.41 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.005704, allocations: 189.8 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.005714, allocations: 25.7 kB / 278.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.005774, allocations: 162.6 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.00579, allocations: 23.84 kB / 278.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.005826, allocations: 39.31 kB / 278.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.006117, allocations: 0.4923 MB / 279.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.006135, allocations: 7.984 kB / 279.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.006181, allocations: 62.41 kB / 279.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.006249, allocations: 78.25 kB / 279.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006252, allocations: 0 / 279.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000101/0.006353, allocations: 97.45 kB / 279.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006365, allocations: 11.98 kB / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00637, allocations: 0 / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.006377, allocations: 0 / 279.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.006469, allocations: 27.98 kB / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.006474, allocations: 8.125 kB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.006507, allocations: 7.938 kB / 279.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006512, allocations: 7.875 kB / 279.7 MB, free: 14.47 MB / 266.7 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 7.407e-05/0.006586, allocations: 160.6 kB / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.006608, allocations: 11.89 kB / 279.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.006638, allocations: 20.42 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.00664, allocations: 0 / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006642, allocations: 0 / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.006645, allocations: 0 / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006755, allocations: 125.2 kB / 280 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006756, allocations: 4 kB / 280 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.006826, allocations: 19.98 kB / 280 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006828, allocations: 0 / 280 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.00684, allocations: 0 / 280 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.006842, allocations: 3.938 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.006846, allocations: 3.938 kB / 280 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.007021, allocations: 227.9 kB / 280.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.007033, allocations: 7.891 kB / 280.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.007045, allocations: 4 kB / 280.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.007084, allocations: 3.938 kB / 280.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.007117, allocations: 15.98 kB / 280.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.00712, allocations: 0 / 280.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.007168, allocations: 137.7 kB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007168, allocations: 4 kB / 280.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000159/0.007327, allocations: 20 kB / 280.4 MB, free: 13.66 MB / 266.7 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.902e-05/0.007426, allocations: 99.17 kB / 280.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007529, allocations: 43.61 kB / 280.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007531, allocations: 0 / 280.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.00756, allocations: 31.92 kB / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.007801, allocations: 22.41 kB / 280.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.008368, allocations: 310.1 kB / 280.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.565e-05/0.008404, allocations: 67.2 kB / 281 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.008434, allocations: 16.47 kB / 281 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.008497, allocations: 86.19 kB / 281.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008498, allocations: 0 / 281.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002647/0.01115, allocations: 1.163 MB / 282.2 MB, free: 11.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.878056204877794]