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.001439/0.001439, allocations: 88.48 kB / 20.95 MB, free: 468 kB / 14.72 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.001373/0.001373, allocations: 150.1 kB / 24.25 MB, free: 3.512 MB / 14.72 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 1.4/1.4, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] 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.205e-06/2.205e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.982e-05, allocations: 5.125 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004526/0.004555, allocations: 2.54 MB / 269.8 MB, free: 7.648 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.006672, allocations: 0.8762 MB / 270.7 MB, free: 6.77 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.007054, allocations: 11.88 kB / 270.7 MB, free: 6.758 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.007381, allocations: 55.39 kB / 270.8 MB, free: 6.703 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.007842, allocations: 75.33 kB / 270.8 MB, free: 6.629 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009659/0.008808, allocations: 251.4 kB / 271.1 MB, free: 6.383 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.009452, allocations: 386.8 kB / 271.5 MB, free: 6.004 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.009835, allocations: 129.4 kB / 271.6 MB, free: 5.875 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.01023, allocations: 199.5 kB / 271.8 MB, free: 5.68 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.01047, allocations: 107.6 kB / 271.9 MB, free: 5.574 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.01055, allocations: 28 kB / 271.9 MB, free: 5.547 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.01072, allocations: 79.95 kB / 272 MB, free: 5.469 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.01086, allocations: 79.67 kB / 272.1 MB, free: 5.391 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.01102, allocations: 107.7 kB / 272.2 MB, free: 5.285 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.01172, allocations: 430.5 kB / 272.6 MB, free: 4.863 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01172, allocations: 0 / 272.6 MB, free: 4.863 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01173, allocations: 0 / 272.6 MB, free: 4.863 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.01174, allocations: 0 / 272.6 MB, free: 4.863 MB / 254.1 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.001346/0.01308, allocations: 0.5714 MB / 273.2 MB, free: 4.258 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.01313, allocations: 8.031 kB / 273.2 MB, free: 4.25 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.01328, allocations: 68.66 kB / 273.2 MB, free: 4.184 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006675/0.01395, allocations: 281.2 kB / 273.5 MB, free: 3.883 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.01399, allocations: 21.03 kB / 273.5 MB, free: 3.863 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.01405, allocations: 32.38 kB / 273.6 MB, free: 3.832 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.01576, allocations: 0.793 MB / 274.4 MB, free: 2.992 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.01579, allocations: 192 / 274.4 MB, free: 2.992 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.01583, allocations: 15.94 kB / 274.4 MB, free: 2.977 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.01584, allocations: 8 kB / 274.4 MB, free: 2.969 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.01647, allocations: 219.8 kB / 274.6 MB, free: 2.754 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01751, allocations: 0.6104 MB / 275.2 MB, free: 2.094 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.01872, allocations: 452.6 kB / 275.7 MB, free: 1.613 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.01927, allocations: 248.3 kB / 275.9 MB, free: 1.359 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.01974, allocations: 75.92 kB / 276 MB, free: 1.285 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.01978, allocations: 42.34 kB / 276 MB, free: 1.234 MB / 254.1 MB Notification: Performance of pre-optimization done (n=52): time 2.614e-06/0.01979, allocations: 0 / 276 MB, free: 1.234 MB / 254.1 MB Notification: Performance of matching and sorting (n=52): time 0.001479/0.02126, allocations: 0.5401 MB / 276.6 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.02145, allocations: 215.9 kB / 276.8 MB, free: 444 kB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.0218, allocations: 249.9 kB / 277 MB, free: 188 kB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.02184, allocations: 33.7 kB / 277 MB, free: 148 kB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.02201, allocations: 153.1 kB / 277.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.02206, allocations: 43.77 kB / 277.2 MB, free: 15.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.02214, allocations: 37.7 kB / 277.3 MB, free: 15.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.02232, allocations: 326.8 kB / 277.6 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.02247, allocations: 51.95 kB / 277.6 MB, free: 15.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.02274, allocations: 189.8 kB / 277.8 MB, free: 15.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.02308, allocations: 165.2 kB / 278 MB, free: 15.09 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.02308, allocations: 4 kB / 278 MB, free: 15.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004827/0.02357, allocations: 205.3 kB / 278.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.02359, allocations: 8.25 kB / 278.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.0236, allocations: 8 kB / 278.2 MB, free: 14.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.02362, allocations: 7.75 kB / 278.2 MB, free: 14.86 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.0238, allocations: 35.98 kB / 278.2 MB, free: 14.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.02382, allocations: 11.92 kB / 278.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.02398, allocations: 15.89 kB / 278.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.024, allocations: 12 kB / 278.3 MB, free: 14.79 MB / 270.1 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.0002081/0.02421, allocations: 153.1 kB / 278.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008027/0.02501, allocations: 374 kB / 278.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008154/0.02582, allocations: 361.3 kB / 279.2 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.02584, allocations: 8 kB / 279.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02584, allocations: 0 / 279.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02585, allocations: 0 / 279.2 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.02623, allocations: 216.9 kB / 279.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.02624, allocations: 4 kB / 279.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.02667, allocations: 99.88 kB / 279.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.02668, allocations: 8 kB / 279.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.02671, allocations: 11.98 kB / 279.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.02672, allocations: 7.938 kB / 279.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02672, allocations: 0 / 279.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.02825, allocations: 0.7886 MB / 280.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/0.02834, allocations: 47.67 kB / 280.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.0284, allocations: 16 kB / 280.4 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.02868, allocations: 31.91 kB / 280.4 MB, free: 12.62 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.02872, allocations: 7.984 kB / 280.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.02876, allocations: 12 kB / 280.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.02897, allocations: 185.3 kB / 280.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02897, allocations: 0 / 280.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.02941, allocations: 63.95 kB / 280.6 MB, free: 12.35 MB / 270.1 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.0002368/0.02965, allocations: 115.2 kB / 280.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.03031, allocations: 243.5 kB / 281 MB, free: 12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.03032, allocations: 0 / 281 MB, free: 12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.03043, allocations: 23.98 kB / 281 MB, free: 11.97 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.03159, allocations: 301.2 kB / 281.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.03327, allocations: 0.7233 MB / 282 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.03353, allocations: 205.7 kB / 282.2 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.03362, allocations: 26.97 kB / 282.3 MB, free: 10.66 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.0337, allocations: 24.5 kB / 282.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of SimCode: time 8.82e-07/0.0337, allocations: 0 / 282.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of Templates: time 0.01139/0.04509, allocations: 4.628 MB / 286.9 MB, free: 6.066 MB / 270.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.126397922635078]