Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 100.4 kB / 16.02 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 193.1 kB / 16.95 MB, free: 6.145 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.848/1.848, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.08048/0.08048, allocations: 12.6 MB / 282.7 MB, free: 8.777 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.001729/0.001729, allocations: 87.88 kB / 343 MB, free: 21.08 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1263, allocations: 49.4 MB / 392.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.004143/0.1304, allocations: 2.105 MB / 394.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.1314, allocations: 0.5424 MB / 395 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1316, allocations: 8 kB / 395 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1317, allocations: 11.86 kB / 395 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.1318, allocations: 15.86 kB / 395.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1321, allocations: 51.89 kB / 395.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1323, allocations: 127.6 kB / 395.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1325, allocations: 58.06 kB / 395.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.1326, allocations: 59.72 kB / 395.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.1327, allocations: 51.7 kB / 395.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1327, allocations: 12 kB / 395.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/0.1327, allocations: 12 kB / 395.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.1328, allocations: 23.92 kB / 395.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1329, allocations: 63.66 kB / 395.5 MB, free: 448 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1331, allocations: 115.5 kB / 395.6 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1331, allocations: 8 kB / 395.6 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1331, allocations: 0 / 395.6 MB, free: 324 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1331, allocations: 7.984 kB / 395.6 MB, free: 316 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006466/0.1337, allocations: 427 kB / 396 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1338, allocations: 8.031 kB / 396.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.1338, allocations: 20.75 kB / 396.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1341, allocations: 208.1 kB / 396.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1341, allocations: 8.375 kB / 396.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.1341, allocations: 16.38 kB / 396.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.1346, allocations: 230.8 kB / 396.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1347, allocations: 0 / 396.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1347, allocations: 4 kB / 396.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1347, allocations: 4 kB / 396.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1349, allocations: 91.75 kB / 396.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.1356, allocations: 0.5998 MB / 397.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.136, allocations: 147.9 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1361, allocations: 70.64 kB / 397.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1362, allocations: 4 kB / 397.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1362, allocations: 38.5 kB / 397.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1362, allocations: 8 kB / 397.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00049/0.1367, allocations: 177.2 kB / 397.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.1368, allocations: 114.8 kB / 397.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1369, allocations: 138.1 kB / 397.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1369, allocations: 29.7 kB / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.137, allocations: 108.1 kB / 398 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.137, allocations: 31.64 kB / 398.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.1371, allocations: 37.7 kB / 398.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1372, allocations: 326.8 kB / 398.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1373, allocations: 39.97 kB / 398.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1375, allocations: 137.7 kB / 398.6 MB, free: 12.99 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.138, allocations: 274.9 kB / 398.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.138, allocations: 4 kB / 398.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003389/0.1384, allocations: 205 kB / 399.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1384, allocations: 8.469 kB / 399.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1384, allocations: 8 kB / 399.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1384, allocations: 4 kB / 399.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1386, allocations: 47.92 kB / 399.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1386, allocations: 7.984 kB / 399.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.1387, allocations: 15.84 kB / 399.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1387, allocations: 16 kB / 399.2 MB, free: 12.34 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: PI.y = PI.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001115/0.1388, allocations: 138.1 kB / 399.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.139, allocations: 93.47 kB / 399.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.139, allocations: 16.72 kB / 399.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.139, allocations: 0 / 399.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.139, allocations: 4 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.139, allocations: 3.984 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.1393, allocations: 217.4 kB / 399.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1393, allocations: 4 kB / 399.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.1395, allocations: 39.97 kB / 399.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1395, allocations: 3.938 kB / 399.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1396, allocations: 8 kB / 399.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1396, allocations: 7.938 kB / 399.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1396, allocations: 0 / 399.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.1401, allocations: 376.4 kB / 400.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1401, allocations: 92.89 kB / 400.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1402, allocations: 8.062 kB / 400.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1403, allocations: 11.98 kB / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1404, allocations: 3.984 kB / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1404, allocations: 4 kB / 400.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.1405, allocations: 103.3 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 3.938 kB / 400.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.1408, allocations: 24 kB / 400.3 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001178/0.1409, allocations: 103.2 kB / 400.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1413, allocations: 127.7 kB / 400.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1413, allocations: 0 / 400.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.1414, allocations: 32.84 kB / 400.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1419, allocations: 68.61 kB / 400.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.1427, allocations: 478.9 kB / 401.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.143, allocations: 0.7161 MB / 401.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.1431, allocations: 21.02 kB / 401.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1431, allocations: 15.44 kB / 401.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1431, allocations: 0 / 401.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Templates: time 0.004026/0.1472, allocations: 1.264 MB / 403.1 MB, free: 8.215 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches