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.001052/0.001053, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.3 MB / 213.8 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 86.2 kB / 261.8 MB, free: 1.684 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.07065/0.07065, allocations: 12.6 MB / 322.4 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.714e-05, allocations: 4 kB / 378.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 50.36 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3482, allocations: 79.43 MB / 0.4968 GB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3485, allocations: 71.91 kB / 0.4969 GB, free: 2.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00679/0.3553, allocations: 2.587 MB / 0.4994 GB, free: 164 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3553, allocations: 4 kB / 0.4994 GB, free: 160 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.3553, allocations: 0 / 0.4994 GB, free: 160 kB / 346.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.0004938/0.3558, allocations: 410.3 kB / 0.4998 GB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3559, allocations: 8.031 kB / 0.4998 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3559, allocations: 15.81 kB / 0.4998 GB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3561, allocations: 202.9 kB / 0.5 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3562, allocations: 19.89 kB / 0.5 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3562, allocations: 4 kB / 0.5 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/0.3564, allocations: 60 kB / 0.5001 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.3567, allocations: 190.6 kB / 0.5003 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3567, allocations: 4 kB / 0.5003 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3568, allocations: 3.984 kB / 0.5003 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3568, allocations: 4 kB / 0.5003 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.3574, allocations: 0.5574 MB / 0.5008 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3576, allocations: 120 kB / 0.5009 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.3577, allocations: 60.22 kB / 0.501 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3578, allocations: 12.11 kB / 0.501 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3578, allocations: 34.56 kB / 0.501 GB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3578, allocations: 0 / 0.501 GB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000232/0.358, allocations: 105.5 kB / 0.5011 GB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3581, allocations: 110.8 kB / 0.5013 GB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3582, allocations: 124.7 kB / 0.5014 GB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3582, allocations: 25.7 kB / 0.5014 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3583, allocations: 120 kB / 0.5015 GB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3583, allocations: 27.67 kB / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.3583, allocations: 0 / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3585, allocations: 322.8 kB / 0.5018 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.091e-05/0.3585, allocations: 20.38 kB / 0.5019 GB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/0.3586, allocations: 122.3 kB / 0.502 GB, free: 13.19 MB / 362.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 = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3588, allocations: 137.1 kB / 0.5021 GB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3588, allocations: 0 / 0.5021 GB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002064/0.359, allocations: 145.7 kB / 0.5023 GB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3591, allocations: 4 kB / 0.5023 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3591, allocations: 11.98 kB / 0.5023 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3591, allocations: 11.95 kB / 0.5023 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3593, allocations: 43.92 kB / 0.5023 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3593, allocations: 11.92 kB / 0.5023 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3594, allocations: 19.84 kB / 0.5024 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3594, allocations: 12 kB / 0.5024 GB, free: 12.78 MB / 362.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 = 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 () * 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 8.885e-05/0.3595, allocations: 120.8 kB / 0.5025 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3596, allocations: 73.59 kB / 0.5025 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.3597, allocations: 12.62 kB / 0.5026 GB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3597, allocations: 7.953 kB / 0.5026 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3597, allocations: 0 / 0.5026 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3597, allocations: 0 / 0.5026 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.36, allocations: 182 kB / 0.5027 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.36, allocations: 4 kB / 0.5027 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.3602, allocations: 43.91 kB / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3602, allocations: 8 kB / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3602, allocations: 0 / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3602, allocations: 0 / 0.5028 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3602, allocations: 7.984 kB / 0.5028 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3605, allocations: 360.2 kB / 0.5031 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3606, allocations: 88.92 kB / 0.5032 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3606, allocations: 15.94 kB / 0.5032 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3608, allocations: 8 kB / 0.5033 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3608, allocations: 3.984 kB / 0.5033 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3608, allocations: 4 kB / 0.5033 GB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.3609, allocations: 99.36 kB / 0.5034 GB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3609, allocations: 7.938 kB / 0.5034 GB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.3612, allocations: 28 kB / 0.5034 GB, free: 11.62 MB / 362.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 () * 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.000104/0.3613, allocations: 95.03 kB / 0.5035 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3615, allocations: 87.8 kB / 0.5036 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3615, allocations: 0 / 0.5036 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.3615, allocations: 16.94 kB / 0.5036 GB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3619, allocations: 45.22 kB / 0.5036 GB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.3625, allocations: 314.8 kB / 0.5039 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3628, allocations: 0.7203 MB / 0.5046 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.3629, allocations: 9.219 kB / 0.5046 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.3629, allocations: 15.42 kB / 0.5047 GB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.522e-06/0.3629, allocations: 7.938 kB / 0.5047 GB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003222/0.3661, allocations: 1.093 MB / 0.5057 GB, free: 9.176 MB / 362.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/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