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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009446/0.0009449, allocations: 176.1 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 223 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007717/0.0007717, allocations: 93.72 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07474/0.07474, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 11.94 kB / 393.3 MB, free: 65.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07815, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.001951/0.08014, allocations: 1.752 MB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.08084, allocations: 0.5308 MB / 446 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.08095, allocations: 4 kB / 446 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.326e-05/0.08105, allocations: 11.88 kB / 446 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.08112, allocations: 15.84 kB / 446 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.08138, allocations: 59.89 kB / 446.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.08153, allocations: 119.6 kB / 446.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.08167, allocations: 49.73 kB / 446.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.08173, allocations: 43.73 kB / 446.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.0818, allocations: 47.72 kB / 446.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.08183, allocations: 4 kB / 446.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.08185, allocations: 4 kB / 446.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.08188, allocations: 23.91 kB / 446.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.08194, allocations: 77.38 kB / 446.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.08204, allocations: 79.77 kB / 446.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.08205, allocations: 4 kB / 446.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08206, allocations: 4 kB / 446.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.08207, allocations: 0 / 446.5 MB, free: 12.57 MB / 298.7 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.0004521/0.08253, allocations: 415.1 kB / 446.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.08257, allocations: 8.031 kB / 446.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.08263, allocations: 16.75 kB / 446.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.08279, allocations: 212 kB / 447.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.08282, allocations: 12.38 kB / 447.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.08285, allocations: 20.3 kB / 447.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.08326, allocations: 230.9 kB / 447.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.08328, allocations: 0 / 447.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.08331, allocations: 11.98 kB / 447.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.08332, allocations: 3.984 kB / 447.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.08355, allocations: 99.88 kB / 447.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.08408, allocations: 0.5997 MB / 448.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.08441, allocations: 151.9 kB / 448.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.08456, allocations: 78.64 kB / 448.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.08459, allocations: 3.984 kB / 448.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.08461, allocations: 42.5 kB / 448.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.08462, allocations: 0 / 448.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004574/0.08508, allocations: 193.3 kB / 448.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.08514, allocations: 114.9 kB / 448.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.08523, allocations: 138.1 kB / 448.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.08525, allocations: 29.7 kB / 448.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.0853, allocations: 119.9 kB / 449 MB, free: 9.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.08533, allocations: 23.75 kB / 449 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.08534, allocations: 4 kB / 449 MB, free: 9.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.08539, allocations: 322.8 kB / 449.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.08551, allocations: 43.97 kB / 449.4 MB, free: 9.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.08564, allocations: 153.6 kB / 449.5 MB, free: 9.227 MB / 298.7 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.0003648/0.08601, allocations: 282.7 kB / 449.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.08602, allocations: 4 kB / 449.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003345/0.08636, allocations: 217.3 kB / 450 MB, free: 8.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.08639, allocations: 11.98 kB / 450 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.0864, allocations: 4.375 kB / 450 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.08642, allocations: 4 kB / 450 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.08657, allocations: 43.92 kB / 450.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.08659, allocations: 7.984 kB / 450.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.08669, allocations: 27.97 kB / 450.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.08671, allocations: 12 kB / 450.1 MB, free: 8.551 MB / 298.7 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 = 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 8.059e-05/0.0868, allocations: 130.7 kB / 450.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.08694, allocations: 97.45 kB / 450.3 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.08698, allocations: 16.72 kB / 450.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.08699, allocations: 0 / 450.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.087, allocations: 7.938 kB / 450.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.08701, allocations: 0 / 450.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.08721, allocations: 221.6 kB / 450.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.08722, allocations: 4 kB / 450.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.08743, allocations: 47.97 kB / 450.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.08745, allocations: 4 kB / 450.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.08746, allocations: 3.984 kB / 450.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.08747, allocations: 3.938 kB / 450.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.08748, allocations: 4 kB / 450.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.08793, allocations: 395.4 kB / 451 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.08797, allocations: 92.89 kB / 451.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.088, allocations: 12.06 kB / 451.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.08813, allocations: 7.984 kB / 451.1 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.08818, allocations: 4 kB / 451.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.08819, allocations: 11.98 kB / 451.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.08824, allocations: 99.27 kB / 451.2 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08824, allocations: 3.938 kB / 451.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.08855, allocations: 28 kB / 451.3 MB, free: 7.277 MB / 298.7 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 7.056e-05/0.08863, allocations: 95.25 kB / 451.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.08894, allocations: 140.6 kB / 451.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08895, allocations: 4 kB / 451.5 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.08905, allocations: 27.98 kB / 451.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.08951, allocations: 68.25 kB / 451.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.09026, allocations: 0.5482 MB / 452.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.0904, allocations: 0.7164 MB / 452.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.09045, allocations: 15.44 kB / 452.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09046, allocations: 0 / 452.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of Templates: time 0.002741/0.09321, allocations: 1.594 MB / 454.5 MB, free: 4 MB / 298.7 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/jenkins1/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