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.001427/0.001427, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 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.001763/0.001763, allocations: 146.5 kB / 23.94 MB, free: 4.16 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.446/1.446, allocations: 173.4 MB / 200.4 MB, free: 12.86 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 1.562e-06/1.562e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.469e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003393/0.003417, allocations: 2.535 MB / 321.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005031, allocations: 0.8735 MB / 322.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.005253, allocations: 15.12 kB / 322.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.005462, allocations: 56.98 kB / 322.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.005721, allocations: 78.22 kB / 322.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.006461, allocations: 239.3 kB / 322.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.006894, allocations: 387.2 kB / 323.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.00716, allocations: 132.6 kB / 323.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.007426, allocations: 197.3 kB / 323.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.007643, allocations: 105.9 kB / 323.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.007707, allocations: 35.69 kB / 323.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.007859, allocations: 77.06 kB / 323.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.007973, allocations: 84.05 kB / 323.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.00809, allocations: 105.1 kB / 323.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.00868, allocations: 430.3 kB / 324.2 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008684, allocations: 1.25 kB / 324.2 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008685, allocations: 0 / 324.2 MB, free: 336 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.008692, allocations: 0 / 324.2 MB, free: 336 kB / 286.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.001082/0.009774, allocations: 0.5712 MB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.009812, allocations: 9.625 kB / 324.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.009915, allocations: 44.47 kB / 324.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.01048, allocations: 261.6 kB / 325.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.01052, allocations: 21.41 kB / 325.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01057, allocations: 35.05 kB / 325.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.01215, allocations: 0.7922 MB / 325.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.01217, allocations: 1.281 kB / 325.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.01221, allocations: 18.84 kB / 326 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01222, allocations: 6.656 kB / 326 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.01284, allocations: 225.2 kB / 326.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.01374, allocations: 0.6152 MB / 326.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.01486, allocations: 458.2 kB / 327.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005227/0.01538, allocations: 244.3 kB / 327.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.01584, allocations: 66.73 kB / 327.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.01588, allocations: 40.56 kB / 327.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.274e-06/0.01588, allocations: 0 / 327.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001355/0.01724, allocations: 0.5325 MB / 328.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.01741, allocations: 216.6 kB / 328.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.01772, allocations: 249.6 kB / 328.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.01776, allocations: 31.98 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.01789, allocations: 153.2 kB / 328.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.01793, allocations: 35.25 kB / 328.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.018, allocations: 33.27 kB / 328.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.01816, allocations: 336.8 kB / 329.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.01831, allocations: 46.03 kB / 329.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.01856, allocations: 187.2 kB / 329.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.01889, allocations: 174 kB / 329.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0189, allocations: 1.219 kB / 329.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004438/0.01934, allocations: 201 kB / 329.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01936, allocations: 6.328 kB / 329.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01936, allocations: 11 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.01938, allocations: 11.67 kB / 329.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01954, allocations: 39.62 kB / 329.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01955, allocations: 3.828 kB / 329.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.01971, allocations: 25.12 kB / 329.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01973, allocations: 6.562 kB / 329.9 MB, free: 12.66 MB / 302.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.0002053/0.01993, allocations: 161.9 kB / 330 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/0.02064, allocations: 348.6 kB / 330.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.02138, allocations: 355.2 kB / 330.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.02139, allocations: 9.625 kB / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.0214, allocations: 1.219 kB / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.02141, allocations: 4.359 kB / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.02177, allocations: 209.9 kB / 330.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.02178, allocations: 6.031 kB / 330.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.02219, allocations: 105.1 kB / 331 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.02219, allocations: 2.594 kB / 331 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.02223, allocations: 13.53 kB / 331 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.02223, allocations: 2.406 kB / 331 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.02224, allocations: 5.125 kB / 331 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.02367, allocations: 0.7693 MB / 331.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.02374, allocations: 52.16 kB / 331.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.0238, allocations: 19.78 kB / 331.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.02407, allocations: 27.09 kB / 331.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.02411, allocations: 9.234 kB / 331.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.02415, allocations: 14.89 kB / 331.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.02435, allocations: 185.2 kB / 332.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02435, allocations: 0 / 332.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000439/0.02479, allocations: 59.11 kB / 332.2 MB, free: 11.41 MB / 302.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.0002216/0.02501, allocations: 134.9 kB / 332.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006124/0.02562, allocations: 227.7 kB / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02563, allocations: 0 / 332.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.02574, allocations: 30.73 kB / 332.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.02686, allocations: 298.6 kB / 332.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.02836, allocations: 0.6914 MB / 333.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.02857, allocations: 206.4 kB / 333.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.702e-05/0.02865, allocations: 20.83 kB / 333.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.02873, allocations: 29.72 kB / 333.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.02873, allocations: 0 / 333.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009864/0.03859, allocations: 4.599 MB / 338.4 MB, free: 7.73 MB / 302.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.343136828392744]