Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007684/0.0007686, allocations: 97.48 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007319/0.0007319, allocations: 181.8 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06757/0.06757, allocations: 12.6 MB / 284 MB, free: 8.578 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006191/0.0006191, allocations: 16.89 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06534/0.06597, allocations: 50.38 MB / 395.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 0.001745/0.06774, allocations: 1.572 MB / 397.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.06838, allocations: 483.8 kB / 397.6 MB, free: 372 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.06847, allocations: 4 kB / 397.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.156e-05/0.06855, allocations: 11.92 kB / 397.6 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.06862, allocations: 23.84 kB / 397.6 MB, free: 332 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.06874, allocations: 27.91 kB / 397.7 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.06888, allocations: 99.58 kB / 397.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.069, allocations: 29.69 kB / 397.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.06907, allocations: 27.86 kB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.06914, allocations: 43.77 kB / 397.8 MB, free: 104 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.06916, allocations: 8 kB / 397.9 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.06918, allocations: 4 kB / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.06921, allocations: 15.92 kB / 397.9 MB, free: 76 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.06926, allocations: 65.44 kB / 397.9 MB, free: 4 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.06938, allocations: 91.66 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.06939, allocations: 3.938 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0694, allocations: 0 / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.06941, allocations: 0 / 398 MB, free: 15.91 MB / 302.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.0004246/0.06984, allocations: 403.3 kB / 398.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.06987, allocations: 12.03 kB / 398.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.06991, allocations: 8.844 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.07007, allocations: 192.1 kB / 398.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.07009, allocations: 8.562 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.07012, allocations: 12.38 kB / 398.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.07038, allocations: 127.2 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.0704, allocations: 4 kB / 398.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.07042, allocations: 0 / 398.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.07043, allocations: 3.938 kB / 398.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.07065, allocations: 83.94 kB / 398.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.07123, allocations: 0.5362 MB / 399.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.07141, allocations: 90.53 kB / 399.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.07154, allocations: 40.84 kB / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.07155, allocations: 0 / 399.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.07158, allocations: 42.55 kB / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.07159, allocations: 0 / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003762/0.07197, allocations: 141.7 kB / 399.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.072, allocations: 51.41 kB / 399.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.07209, allocations: 133.7 kB / 399.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.07211, allocations: 29.7 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.07217, allocations: 115.8 kB / 400 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.0722, allocations: 27.61 kB / 400.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.07223, allocations: 17.72 kB / 400.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.07232, allocations: 322.8 kB / 400.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.07244, allocations: 39.97 kB / 400.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.07256, allocations: 76.27 kB / 400.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.07279, allocations: 108.2 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.0728, allocations: 4 kB / 400.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002915/0.0731, allocations: 153.3 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.07312, allocations: 8 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.07313, allocations: 0 / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.07315, allocations: 4.125 kB / 400.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.0733, allocations: 35.97 kB / 400.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.07331, allocations: 0 / 400.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.07339, allocations: 16.03 kB / 400.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.07341, allocations: 11.94 kB / 400.8 MB, free: 12.82 MB / 302.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 7.081e-05/0.07349, allocations: 125.7 kB / 401 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.07352, allocations: 7.906 kB / 401 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.07355, allocations: 12.38 kB / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.07356, allocations: 0 / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.07357, allocations: 0 / 401 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.07358, allocations: 4 kB / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.07375, allocations: 201.5 kB / 401.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.07376, allocations: 4 kB / 401.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.0739, allocations: 23.98 kB / 401.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.07391, allocations: 4 kB / 401.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.07392, allocations: 4 kB / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.07393, allocations: 4 kB / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.07394, allocations: 0 / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.07432, allocations: 251.3 kB / 401.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.07436, allocations: 88.94 kB / 401.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.07438, allocations: 4 kB / 401.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.07448, allocations: 8 kB / 401.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.07452, allocations: 7.984 kB / 401.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.07453, allocations: 0 / 401.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.07457, allocations: 95.27 kB / 401.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.07458, allocations: 4 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.07482, allocations: 20 kB / 401.7 MB, free: 11.88 MB / 302.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 6.674e-05/0.07489, allocations: 91.25 kB / 401.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.07514, allocations: 100.5 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.07515, allocations: 0 / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.07526, allocations: 35.92 kB / 401.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.07558, allocations: 28.03 kB / 401.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.0762, allocations: 459.1 kB / 402.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.0764, allocations: 0.7043 MB / 403.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.07645, allocations: 8.422 kB / 403.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.07648, allocations: 11.44 kB / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.07648, allocations: 0 / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Templates: time 0.002686/0.07917, allocations: 0.8746 MB / 404 MB, free: 9.516 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches