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.001274/0.001274, allocations: 100 kB / 15.73 MB, free: 436 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.001391/0.001391, allocations: 178.7 kB / 16.62 MB, free: 6.422 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.764/1.764, allocations: 205.4 MB / 222.8 MB, free: 5.617 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.089/0.089, allocations: 12.6 MB / 283.7 MB, free: 8.699 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.0007049/0.0007049, allocations: 16 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1138, allocations: 50.39 MB / 394.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002611/0.1165, allocations: 1.69 MB / 396.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.1175, allocations: 0.5195 MB / 397.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1177, allocations: 7.875 kB / 397.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.1177, allocations: 11.92 kB / 397.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1179, allocations: 31.88 kB / 397.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.1182, allocations: 43.89 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1185, allocations: 87.84 kB / 397.3 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1186, allocations: 49.44 kB / 397.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.1187, allocations: 39.8 kB / 397.4 MB, free: 316 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.1188, allocations: 47.77 kB / 397.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1189, allocations: 4 kB / 397.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.1189, allocations: 4 kB / 397.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.1189, allocations: 19.92 kB / 397.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.119, allocations: 41.64 kB / 397.5 MB, free: 192 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1191, allocations: 84.03 kB / 397.6 MB, free: 108 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1191, allocations: 8 kB / 397.6 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1191, allocations: 0 / 397.6 MB, free: 100 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1191, allocations: 0 / 397.6 MB, free: 100 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.000646/0.1198, allocations: 415 kB / 398 MB, free: 15.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1198, allocations: 12.03 kB / 398 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1199, allocations: 11.81 kB / 398 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.1202, allocations: 210.8 kB / 398.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1202, allocations: 8 kB / 398.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1202, allocations: 12 kB / 398.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.1209, allocations: 246.4 kB / 398.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.121, allocations: 3.906 kB / 398.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.121, allocations: 4 kB / 398.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.121, allocations: 4 kB / 398.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.1213, allocations: 95.81 kB / 398.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009138/0.1222, allocations: 0.596 MB / 399.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1226, allocations: 148.1 kB / 399.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1226, allocations: 12.02 kB / 399.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1226, allocations: 34.56 kB / 399.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1226, allocations: 0 / 399.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005428/0.1232, allocations: 197.6 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1233, allocations: 106.8 kB / 399.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1234, allocations: 134.1 kB / 399.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1234, allocations: 33.7 kB / 399.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.1235, allocations: 116.1 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1235, allocations: 27.66 kB / 400 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1235, allocations: 0 / 400 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1237, allocations: 326.8 kB / 400.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1238, allocations: 40.34 kB / 400.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.124, allocations: 146.4 kB / 400.5 MB, free: 12.87 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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1244, allocations: 153.2 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1244, allocations: 4 kB / 400.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000602/0.125, allocations: 209.2 kB / 400.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1251, allocations: 8 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1251, allocations: 4 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1251, allocations: 4.469 kB / 400.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.1253, allocations: 51.86 kB / 400.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.1254, allocations: 7.984 kB / 400.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1255, allocations: 23.84 kB / 400.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1256, allocations: 11.94 kB / 400.9 MB, free: 12.38 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 sytem: PI.y = 0.0. 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.1257, allocations: 129.8 kB / 401.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.1259, allocations: 93.44 kB / 401.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.126, allocations: 16.72 kB / 401.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.126, allocations: 4 kB / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.126, allocations: 0 / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.126, allocations: 7.984 kB / 401.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1264, allocations: 209.5 kB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1264, allocations: 3.953 kB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.1267, allocations: 47.91 kB / 401.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1268, allocations: 0 / 401.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1268, allocations: 8 kB / 401.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1268, allocations: 4 kB / 401.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1268, allocations: 0 / 401.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.1276, allocations: 423 kB / 401.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.1277, allocations: 92.89 kB / 401.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1277, allocations: 4 kB / 401.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1279, allocations: 11.98 kB / 402 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.128, allocations: 12.05 kB / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.128, allocations: 12 kB / 402 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1281, allocations: 99.27 kB / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1282, allocations: 0 / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1286, allocations: 31.86 kB / 402.1 MB, free: 11.08 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 (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.0001268/0.1288, allocations: 95.25 kB / 402.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.1291, allocations: 135.7 kB / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1292, allocations: 0 / 402.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1293, allocations: 40.86 kB / 402.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1297, allocations: 61.86 kB / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.1306, allocations: 0.4958 MB / 402.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1311, allocations: 0.7206 MB / 403.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.1311, allocations: 9.094 kB / 403.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1312, allocations: 11.44 kB / 403.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1312, allocations: 0 / 403.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of Templates: time 0.003626/0.1348, allocations: 1.143 MB / 404.8 MB, free: 8.305 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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