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.0009568/0.0009568, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001033/0.001033, allocations: 169.2 kB / 25.61 MB, free: 8.57 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 0.879/0.879, allocations: 177.1 MB / 206 MB, free: 4.484 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 1.473e-06/1.473e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.895e-05, allocations: 7 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004055/0.004074, allocations: 2.627 MB / 276.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.005811, allocations: 0.9219 MB / 277.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.00605, allocations: 15.88 kB / 277.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.006281, allocations: 63.95 kB / 277.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.006543, allocations: 65.92 kB / 277.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.007161, allocations: 235.4 kB / 278.1 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.007568, allocations: 388.7 kB / 278.5 MB, free: 136 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.007853, allocations: 133.4 kB / 278.6 MB, free: 0 / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.008124, allocations: 195.5 kB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.008302, allocations: 111.6 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.008355, allocations: 28 kB / 278.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.008485, allocations: 76.39 kB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.008592, allocations: 79.69 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.008702, allocations: 108.3 kB / 279.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.00908, allocations: 274.9 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.009084, allocations: 0 / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009085, allocations: 0 / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.009091, allocations: 0 / 279.5 MB, free: 15.14 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.0008943/0.009985, allocations: 0.6711 MB / 280.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.01002, allocations: 15.92 kB / 280.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.01013, allocations: 60.7 kB / 280.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.01066, allocations: 280.1 kB / 280.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.0107, allocations: 21.03 kB / 280.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.01074, allocations: 32.27 kB / 280.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.01154, allocations: 0.5961 MB / 281.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.01156, allocations: 8.188 kB / 281.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.01158, allocations: 11.94 kB / 281.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.0116, allocations: 8 kB / 281.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.01175, allocations: 74.2 kB / 281.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.01247, allocations: 0.7572 MB / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.01302, allocations: 321.5 kB / 282.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.01321, allocations: 151.1 kB / 282.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.01347, allocations: 63.95 kB / 282.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.0135, allocations: 45.33 kB / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.314e-06/0.0135, allocations: 0 / 282.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004415/0.01395, allocations: 318.1 kB / 282.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.01404, allocations: 212.2 kB / 283.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.0142, allocations: 288.2 kB / 283.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01422, allocations: 37.7 kB / 283.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.01431, allocations: 199.6 kB / 283.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.01433, allocations: 35.77 kB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.01438, allocations: 39.36 kB / 283.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.01451, allocations: 0.504 MB / 284.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.01453, allocations: 11.98 kB / 284.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.01462, allocations: 192.2 kB / 284.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.01472, allocations: 136.4 kB / 284.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01473, allocations: 4 kB / 284.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001363/0.01486, allocations: 141.3 kB / 284.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01488, allocations: 8 kB / 284.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01488, allocations: 4 kB / 284.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.01489, allocations: 3.938 kB / 284.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.01499, allocations: 43.92 kB / 284.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.01499, allocations: 112 / 284.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.01506, allocations: 27.81 kB / 284.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.01507, allocations: 4 kB / 284.7 MB, free: 9.41 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.0001067/0.01517, allocations: 184.8 kB / 284.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.0154, allocations: 233.2 kB / 285.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.01571, allocations: 237.2 kB / 285.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.01572, allocations: 7.938 kB / 285.4 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01572, allocations: 4 kB / 285.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01573, allocations: 3.984 kB / 285.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01591, allocations: 184.9 kB / 285.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.01592, allocations: 0 / 285.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.01612, allocations: 99.89 kB / 285.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01612, allocations: 0 / 285.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.01614, allocations: 15.98 kB / 285.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.01615, allocations: 11.94 kB / 285.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01615, allocations: 0 / 285.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01634, allocations: 370.3 kB / 286 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.01637, allocations: 43.62 kB / 286.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.01641, allocations: 12 kB / 286.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01652, allocations: 23.98 kB / 286.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.01655, allocations: 11.92 kB / 286.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.01657, allocations: 12.03 kB / 286.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.01665, allocations: 197 kB / 286.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01665, allocations: 3.938 kB / 286.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01691, allocations: 67.88 kB / 286.4 MB, free: 7.645 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.0001343/0.01704, allocations: 123.3 kB / 286.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.01722, allocations: 127.4 kB / 286.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01722, allocations: 4.125 kB / 286.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.01724, allocations: 23.62 kB / 286.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.01793, allocations: 221 kB / 286.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.01884, allocations: 0.6594 MB / 287.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.908e-05/0.01892, allocations: 125.2 kB / 287.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.01897, allocations: 22.97 kB / 287.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.01913, allocations: 142.1 kB / 287.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01913, allocations: 0 / 287.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of Templates: time 0.006539/0.02567, allocations: 5.092 MB / 292.9 MB, free: 1.105 MB / 266.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.8131167786195874]