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.0009366/0.0009366, allocations: 95.89 kB / 15.73 MB, free: 440 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.001106/0.001106, allocations: 181.7 kB / 16.62 MB, free: 6.426 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.503/1.503, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.08619/0.08619, allocations: 12.6 MB / 283.6 MB, free: 8.707 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.0007346/0.0007346, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1201, allocations: 50.39 MB / 394.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 0.002209/0.1224, allocations: 1.519 MB / 396.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.1233, allocations: 476.1 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1234, allocations: 8 kB / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1235, allocations: 3.938 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1236, allocations: 23.94 kB / 396.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.1237, allocations: 27.91 kB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1239, allocations: 67.86 kB / 397 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.124, allocations: 37.48 kB / 397 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.1241, allocations: 35.91 kB / 397.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.1242, allocations: 35.8 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1242, allocations: 4 kB / 397.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.1243, allocations: 4 kB / 397.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.1243, allocations: 15.92 kB / 397.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1243, allocations: 37.7 kB / 397.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1244, allocations: 72.06 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1245, allocations: 0 / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1245, allocations: 3.938 kB / 397.2 MB, free: 440 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1245, allocations: 0 / 397.2 MB, free: 440 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.0005471/0.125, allocations: 403.2 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1251, allocations: 12.03 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.1251, allocations: 7.906 kB / 397.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1253, allocations: 186.9 kB / 397.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1254, allocations: 8.188 kB / 397.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1254, allocations: 15.92 kB / 397.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1257, allocations: 120.7 kB / 398 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1257, allocations: 0 / 398 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1257, allocations: 8 kB / 398 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.1257, allocations: 3.938 kB / 398 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.126, allocations: 87.89 kB / 398.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.1267, allocations: 0.5286 MB / 398.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1269, allocations: 82.59 kB / 398.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1269, allocations: 0 / 398.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1269, allocations: 34.56 kB / 398.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.1269, allocations: 0 / 398.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004249/0.1274, allocations: 137.6 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1274, allocations: 63.39 kB / 398.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1275, allocations: 129.8 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1275, allocations: 25.7 kB / 399.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1276, allocations: 115.8 kB / 399.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1277, allocations: 27.64 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.1277, allocations: 4 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1278, allocations: 326.8 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1279, allocations: 35.98 kB / 399.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.128, allocations: 72.25 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1281, allocations: 51.86 kB / 399.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1282, allocations: 0 / 399.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002751/0.1284, allocations: 145.5 kB / 399.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1285, allocations: 9.25 kB / 399.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1285, allocations: 0 / 399.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1285, allocations: 4 kB / 399.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1287, allocations: 31.98 kB / 399.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1287, allocations: 4 kB / 399.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.1288, allocations: 27.86 kB / 399.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1288, allocations: 8 kB / 399.9 MB, free: 13.5 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 8.792e-05/0.1289, allocations: 125.6 kB / 400 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1289, allocations: 7.906 kB / 400 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.129, allocations: 8.375 kB / 400 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.129, allocations: 4 kB / 400 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.129, allocations: 3.984 kB / 400.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.129, allocations: 3.984 kB / 400.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1292, allocations: 193.6 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1292, allocations: 4 kB / 400.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1293, allocations: 31.91 kB / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1294, allocations: 0 / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1294, allocations: 0 / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1294, allocations: 0 / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1294, allocations: 3.938 kB / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1298, allocations: 255.3 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1298, allocations: 84.95 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1299, allocations: 4 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.13, allocations: 12.03 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.13, allocations: 4 kB / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.13, allocations: 0 / 400.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.1301, allocations: 103.2 kB / 400.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 0 / 400.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1303, allocations: 23.91 kB / 400.8 MB, free: 12.55 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 8.535e-05/0.1304, allocations: 95.34 kB / 400.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.1307, allocations: 95.77 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1307, allocations: 0 / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1308, allocations: 40.36 kB / 401 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1311, allocations: 24.19 kB / 401 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.1318, allocations: 435.4 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1321, allocations: 0.7004 MB / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.1321, allocations: 12.42 kB / 402.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1322, allocations: 15.44 kB / 402.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1322, allocations: 0 / 402.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Templates: time 0.003313/0.1355, allocations: 0.8473 MB / 403 MB, free: 10.24 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