Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9673/0.9673, allocations: 173.3 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.773e-05, allocations: 6.25 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003836/0.003873, allocations: 2.65 MB / 270.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.005519, allocations: 0.8879 MB / 271.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.005864, allocations: 15.88 kB / 271.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.006133, allocations: 63.33 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.006508, allocations: 71.38 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.007293, allocations: 239.4 kB / 271.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004665/0.00776, allocations: 390.7 kB / 272.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.008053, allocations: 125.4 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.008326, allocations: 203.5 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.008499, allocations: 111.6 kB / 272.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.008548, allocations: 32 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.008674, allocations: 63.97 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.008786, allocations: 83.67 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.008889, allocations: 103.7 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.009313, allocations: 282.8 kB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.009317, allocations: 0 / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.009319, allocations: 0 / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.009326, allocations: 0 / 273.2 MB, free: 1.133 MB / 250.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.001273/0.0106, allocations: 0.6673 MB / 273.9 MB, free: 436 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.01065, allocations: 8.031 kB / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.01077, allocations: 64.66 kB / 274 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.01114, allocations: 272.1 kB / 274.3 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.01117, allocations: 25.03 kB / 274.3 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.01122, allocations: 36.27 kB / 274.3 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.01218, allocations: 0.6429 MB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.0122, allocations: 192 / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.01223, allocations: 15.94 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.01224, allocations: 4 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.01242, allocations: 99.8 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.01317, allocations: 0.7573 MB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.01373, allocations: 349.5 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.01392, allocations: 166.5 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.01423, allocations: 71.94 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.01427, allocations: 49.11 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/0.01427, allocations: 0 / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005326/0.0148, allocations: 353.4 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.01492, allocations: 207.9 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.01512, allocations: 288.3 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01514, allocations: 29.7 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01524, allocations: 207.6 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.01527, allocations: 39.83 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.01532, allocations: 47.48 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01546, allocations: 0.5001 MB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.0155, allocations: 16.94 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01561, allocations: 194.1 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01573, allocations: 144.4 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01573, allocations: 0 / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001672/0.0159, allocations: 145.3 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01592, allocations: 8 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01593, allocations: 320 / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.01595, allocations: 11.94 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01606, allocations: 39.91 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.01607, allocations: 4 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.01614, allocations: 19.89 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01615, allocations: 8 kB / 278.7 MB, free: 11.23 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.0001316/0.01628, allocations: 186.1 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.01657, allocations: 258.5 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.01691, allocations: 257.2 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.01691, allocations: 11.94 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01692, allocations: 4 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.01693, allocations: 4 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.01716, allocations: 224.2 kB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.01716, allocations: 4 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.01738, allocations: 91.88 kB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.01739, allocations: 0 / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.01741, allocations: 12 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01741, allocations: 7.938 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01742, allocations: 3.938 kB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.01802, allocations: 0.6461 MB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.01806, allocations: 51.62 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.0181, allocations: 12 kB / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01821, allocations: 15.98 kB / 280.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.01826, allocations: 19.86 kB / 280.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.01829, allocations: 12 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.01841, allocations: 201.1 kB / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01841, allocations: 0 / 280.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004759/0.01888, allocations: 67.94 kB / 280.7 MB, free: 9.082 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.0001688/0.01905, allocations: 131.2 kB / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.0193, allocations: 143.1 kB / 281 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01931, allocations: 0 / 281 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.01934, allocations: 19.62 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.01998, allocations: 241.3 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.02128, allocations: 0.6667 MB / 281.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.02137, allocations: 117.2 kB / 282 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.02144, allocations: 26.97 kB / 282.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.02149, allocations: 32.5 kB / 282.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0215, allocations: 0 / 282.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of Templates: time 0.007596/0.02909, allocations: 4.907 MB / 287 MB, free: 2.793 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.066802036948502]