Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.81e-05/4.065e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003481/0.003522, allocations: 2.621 MB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.004805, allocations: 0.9151 MB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.004994, allocations: 15.88 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.005177, allocations: 67.31 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.005385, allocations: 67.44 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.005882, allocations: 239.4 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.006199, allocations: 390.7 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.006398, allocations: 125.4 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.006586, allocations: 203.5 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.00672, allocations: 107.6 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.006758, allocations: 28 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.006854, allocations: 75.89 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.006935, allocations: 83.67 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.007009, allocations: 107.7 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.007289, allocations: 274.9 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.007293, allocations: 4 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007294, allocations: 0 / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.007299, allocations: 4 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0006271/0.007926, allocations: 0.6633 MB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.00796, allocations: 12.02 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.008031, allocations: 64.7 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.00829, allocations: 280 kB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.008312, allocations: 24.97 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.008347, allocations: 28.38 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.008904, allocations: 0.5961 MB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.008915, allocations: 192 / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.008933, allocations: 11.94 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.00894, allocations: 8 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.009048, allocations: 86.09 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.009554, allocations: 0.765 MB / 281.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.009903, allocations: 306.9 kB / 281.5 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.01003, allocations: 163.1 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.01022, allocations: 67.94 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.01025, allocations: 49.33 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.01025, allocations: 0 / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0003589/0.01061, allocations: 305.1 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.0107, allocations: 212.8 kB / 282.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.01085, allocations: 288.1 kB / 282.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.01087, allocations: 41.83 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.01095, allocations: 203.5 kB / 282.8 MB, free: 7.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.01099, allocations: 31.83 kB / 282.8 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.01103, allocations: 47.81 kB / 282.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01115, allocations: 0.504 MB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.01117, allocations: 11.98 kB / 283.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.01127, allocations: 191.2 kB / 283.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.01136, allocations: 140.4 kB / 283.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01136, allocations: 0 / 283.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001393/0.0115, allocations: 149.8 kB / 283.9 MB, free: 6.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01151, allocations: 4 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01151, allocations: 4 kB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01153, allocations: 7.938 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.01161, allocations: 39.92 kB / 283.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01161, allocations: 7.984 kB / 283.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.01168, allocations: 12 kB / 283.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01169, allocations: 11.97 kB / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001074/0.01179, allocations: 181.4 kB / 284.1 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.01202, allocations: 229.3 kB / 284.3 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.01226, allocations: 240.5 kB / 284.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01226, allocations: 7.938 kB / 284.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01227, allocations: 4 kB / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01227, allocations: 0 / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.01245, allocations: 184.9 kB / 284.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.01246, allocations: 11.92 kB / 284.8 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.01264, allocations: 91.89 kB / 284.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01265, allocations: 7.938 kB / 284.9 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01266, allocations: 12 kB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01267, allocations: 8 kB / 284.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01267, allocations: 3.984 kB / 284.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.01285, allocations: 366.3 kB / 285.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.01288, allocations: 35.69 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.01292, allocations: 19.98 kB / 285.3 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01303, allocations: 19.98 kB / 285.3 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.01305, allocations: 11.88 kB / 285.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01307, allocations: 15.98 kB / 285.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.01315, allocations: 197.1 kB / 285.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 0 / 285.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.0134, allocations: 63.89 kB / 285.6 MB, free: 4.473 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001206/0.01352, allocations: 123.2 kB / 285.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01368, allocations: 124 kB / 285.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01368, allocations: 0 / 285.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.0137, allocations: 24.38 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.0142, allocations: 232.8 kB / 286.1 MB, free: 3.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/0.01509, allocations: 0.6551 MB / 286.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.351e-05/0.01518, allocations: 133.2 kB / 286.9 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.01523, allocations: 18.98 kB / 286.9 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.01538, allocations: 150.1 kB / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01538, allocations: 0 / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of Templates: time 0.006384/0.02177, allocations: 4.973 MB / 292 MB, free: 14.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9239342203363776]