Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9534/0.9534, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.328e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004169/0.004202, allocations: 2.669 MB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005912, allocations: 0.9268 MB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.006161, allocations: 11.88 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.006403, allocations: 67.33 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.006679, allocations: 51.52 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.007353, allocations: 255.2 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.007798, allocations: 386.9 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.008085, allocations: 133.3 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.008359, allocations: 195.5 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.008532, allocations: 107.6 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.008586, allocations: 32 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.008714, allocations: 71.89 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.008823, allocations: 87.67 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.008931, allocations: 99.67 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.009343, allocations: 286.9 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.009345, allocations: 0 / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.009346, allocations: 0 / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.009352, allocations: 0 / 278.2 MB, free: 12.1 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.0009375/0.01029, allocations: 0.6557 MB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.01033, allocations: 12.03 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.01044, allocations: 60.7 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.01087, allocations: 287.9 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.01091, allocations: 21.03 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.01096, allocations: 24.38 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.01197, allocations: 0.6469 MB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01199, allocations: 4.188 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01202, allocations: 15.94 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.01204, allocations: 8 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.01227, allocations: 87 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.01305, allocations: 0.7612 MB / 280.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.01371, allocations: 342.8 kB / 281.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.01398, allocations: 178.7 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/0.0143, allocations: 71.92 kB / 281.4 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.01434, allocations: 45.33 kB / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.415e-06/0.01434, allocations: 0 / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007073/0.01505, allocations: 346.2 kB / 281.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.01517, allocations: 219.8 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.01541, allocations: 296.2 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.01544, allocations: 37.7 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01555, allocations: 203.6 kB / 282.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.01558, allocations: 27.78 kB / 282.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.01564, allocations: 43.36 kB / 282.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.01578, allocations: 0.5079 MB / 283.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.01583, allocations: 12.3 kB / 283.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.01596, allocations: 187.2 kB / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.0161, allocations: 148.8 kB / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0161, allocations: 0 / 283.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002264/0.01633, allocations: 161.2 kB / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01634, allocations: 4 kB / 283.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01635, allocations: 4 kB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01637, allocations: 7.938 kB / 283.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.01651, allocations: 39.92 kB / 283.6 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01652, allocations: 4 kB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01662, allocations: 15.94 kB / 283.7 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01663, allocations: 8.312 kB / 283.7 MB, free: 6.203 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.0001324/0.01676, allocations: 180.5 kB / 283.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.01719, allocations: 249.3 kB / 284.1 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.01763, allocations: 268.5 kB / 284.3 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.01764, allocations: 11.88 kB / 284.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01764, allocations: 4 kB / 284.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.01765, allocations: 3.984 kB / 284.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.01796, allocations: 220.3 kB / 284.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.01797, allocations: 0 / 284.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.01829, allocations: 99.88 kB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.01829, allocations: 4 kB / 284.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.01832, allocations: 8 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01832, allocations: 0 / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.01833, allocations: 11.88 kB / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007579/0.01908, allocations: 0.6461 MB / 285.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.01913, allocations: 39.69 kB / 285.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.01919, allocations: 12 kB / 285.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.01938, allocations: 23.98 kB / 285.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01943, allocations: 11.95 kB / 285.4 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.01946, allocations: 16 kB / 285.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.01962, allocations: 205.1 kB / 285.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01962, allocations: 0 / 285.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.02003, allocations: 63.89 kB / 285.7 MB, free: 4.066 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.0001842/0.02022, allocations: 127.2 kB / 285.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.02051, allocations: 143.5 kB / 286 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02052, allocations: 0 / 286 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.02055, allocations: 23.61 kB / 286 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.02142, allocations: 233.9 kB / 286.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.02255, allocations: 0.6718 MB / 286.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.02263, allocations: 121.2 kB / 287 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.02267, allocations: 26.92 kB / 287 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.02273, allocations: 28.5 kB / 287.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02273, allocations: 0 / 287.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of Templates: time 0.006187/0.02891, allocations: 4.65 MB / 291.7 MB, free: 14.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.039160921238363]