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.001404/0.001404, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001566/0.001566, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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 1.482/1.482, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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: 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 2.154e-06/2.154e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.194e-05, allocations: 6.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004688/0.00473, allocations: 1.861 MB / 274 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.005949, allocations: 470.8 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.006095, allocations: 4 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.006249, allocations: 11.86 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.006354, allocations: 23.73 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.006562, allocations: 31.95 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.006808, allocations: 103.5 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.00697, allocations: 33.56 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.007127, allocations: 59.88 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.932e-05/0.007216, allocations: 27.91 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.007246, allocations: 8 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.007268, allocations: 8 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.007301, allocations: 23.91 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.007363, allocations: 27.94 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.007604, allocations: 111.6 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007608, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007609, allocations: 0 / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.007617, allocations: 0 / 275 MB, free: 15.01 MB / 266.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.0006947/0.008312, allocations: 330.1 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.00836, allocations: 15.98 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.008439, allocations: 16.89 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.0088, allocations: 141.6 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.008818, allocations: 4.562 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.00886, allocations: 12.38 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.00922, allocations: 120 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.009235, allocations: 0 / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.009251, allocations: 12 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.009258, allocations: 0 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.009511, allocations: 71.88 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.01034, allocations: 427.6 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.01058, allocations: 74.55 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.01071, allocations: 44.83 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.01073, allocations: 4 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.01077, allocations: 38.5 kB / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.01077, allocations: 0 / 276.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004638/0.01123, allocations: 129.8 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.01128, allocations: 51.41 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01143, allocations: 137.8 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.01145, allocations: 25.7 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01155, allocations: 112 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.01159, allocations: 27.75 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.01165, allocations: 29.7 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.01184, allocations: 322.8 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.01196, allocations: 27.98 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.0121, allocations: 68.02 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.01236, allocations: 112.1 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01236, allocations: 0 / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000368/0.01273, allocations: 153.3 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01274, allocations: 4 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01275, allocations: 0 / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01277, allocations: 4.125 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.01299, allocations: 35.92 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.013, allocations: 3.984 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.01308, allocations: 11.94 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01309, allocations: 4 kB / 277.5 MB, free: 12.28 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 0.0001153/0.01321, allocations: 117.8 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.01324, allocations: 11.89 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.01329, allocations: 16.42 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01329, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.0133, allocations: 4 kB / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.0133, allocations: 0 / 277.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.01352, allocations: 133.2 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01352, allocations: 4 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.01366, allocations: 27.92 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01367, allocations: 0 / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.01368, allocations: 3.938 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01368, allocations: 3.938 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01368, allocations: 0 / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.01415, allocations: 239.4 kB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.01417, allocations: 7.953 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01419, allocations: 7.969 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.01429, allocations: 8 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.01435, allocations: 7.984 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01436, allocations: 0 / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.01444, allocations: 99.2 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 0 / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.0147, allocations: 20 kB / 278.2 MB, free: 11.52 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 0.0001379/0.01483, allocations: 103.2 kB / 278.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.01513, allocations: 79.88 kB / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01513, allocations: 0 / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01524, allocations: 28.38 kB / 278.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.01561, allocations: 35.22 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.01638, allocations: 312.6 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.905e-05/0.01648, allocations: 80.33 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.98e-05/0.01653, allocations: 8.484 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.01657, allocations: 16.5 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01657, allocations: 0 / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.004467/0.02104, allocations: 1.054 MB / 279.9 MB, free: 9.789 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.286812364938669]