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.0009426/0.0009429, allocations: 96.86 kB / 15.74 MB, free: 424 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.000887/0.0008871, allocations: 176.6 kB / 16.62 MB, free: 6.43 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.643/1.643, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.09231/0.09231, allocations: 12.6 MB / 283.7 MB, free: 8.68 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.001105/0.001105, allocations: 24 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1753, allocations: 50.38 MB / 394.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 0.002872/0.1783, allocations: 1.541 MB / 396.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1794, allocations: 480 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1796, allocations: 0 / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1797, allocations: 7.938 kB / 396.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.1798, allocations: 19.84 kB / 396.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.18, allocations: 23.92 kB / 397 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1802, allocations: 91.64 kB / 397.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1804, allocations: 29.56 kB / 397.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.1805, allocations: 35.86 kB / 397.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.1806, allocations: 35.78 kB / 397.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1806, allocations: 8 kB / 397.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.1806, allocations: 4 kB / 397.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1806, allocations: 19.92 kB / 397.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.1807, allocations: 37.7 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.1808, allocations: 68.08 kB / 397.3 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1808, allocations: 0 / 397.3 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1808, allocations: 0 / 397.3 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1808, allocations: 0 / 397.3 MB, free: 376 kB / 286.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.0007145/0.1816, allocations: 399.1 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1816, allocations: 8.031 kB / 397.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.1817, allocations: 11.91 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1819, allocations: 198.8 kB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.182, allocations: 8.188 kB / 397.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.182, allocations: 8 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1823, allocations: 128.6 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1823, allocations: 0 / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1823, allocations: 8 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1824, allocations: 0 / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.1826, allocations: 75.95 kB / 398.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.1833, allocations: 0.5365 MB / 398.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1836, allocations: 86.55 kB / 398.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1837, allocations: 44.83 kB / 398.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1837, allocations: 0 / 398.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1838, allocations: 34.56 kB / 398.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1838, allocations: 0 / 398.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.1842, allocations: 145.6 kB / 399 MB, free: 14.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1843, allocations: 55.41 kB / 399 MB, free: 14.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1844, allocations: 133.8 kB / 399.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1845, allocations: 25.7 kB / 399.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.1846, allocations: 119.7 kB / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1846, allocations: 23.66 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.1846, allocations: 4 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1848, allocations: 326.8 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1849, allocations: 35.97 kB / 399.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1851, allocations: 72.27 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1852, allocations: 47.92 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1852, allocations: 0 / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003245/0.1856, allocations: 145.5 kB / 399.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1856, allocations: 8 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1856, allocations: 320 / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1856, allocations: 4 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1858, allocations: 31.98 kB / 400 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.1859, allocations: 7.938 kB / 400 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.1859, allocations: 23.92 kB / 400 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.186, allocations: 7.984 kB / 400 MB, free: 13.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1861, allocations: 125.6 kB / 400.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1861, allocations: 7.906 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.1862, allocations: 12.36 kB / 400.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1862, allocations: 4 kB / 400.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1862, allocations: 0 / 400.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1862, allocations: 0 / 400.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.1865, allocations: 201.6 kB / 400.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1865, allocations: 4 kB / 400.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1866, allocations: 23.98 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1866, allocations: 3.938 kB / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1866, allocations: 0 / 400.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1867, allocations: 4 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1867, allocations: 3.938 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.1871, allocations: 255.4 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1872, allocations: 84.95 kB / 400.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1873, allocations: 4 kB / 400.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.1873, allocations: 12.03 kB / 400.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.1874, allocations: 7.984 kB / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1874, allocations: 0 / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.1875, allocations: 99.27 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1875, allocations: 0 / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1878, allocations: 23.91 kB / 400.9 MB, free: 12.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001401/0.1879, allocations: 95.19 kB / 401 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.1882, allocations: 91.89 kB / 401.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1882, allocations: 0 / 401.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1883, allocations: 40.22 kB / 401.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1889, allocations: 27.89 kB / 401.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/0.1898, allocations: 439.2 kB / 401.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.1902, allocations: 0.7004 MB / 402.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.1903, allocations: 12.42 kB / 402.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1903, allocations: 11.44 kB / 402.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1904, allocations: 0 / 402.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Templates: time 0.004461/0.1948, allocations: 0.8426 MB / 403.1 MB, free: 10.13 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