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.0007769/0.0007769, allocations: 84 kB / 21.43 MB, free: 3.129 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.003231/0.003231, allocations: 141.9 kB / 24.68 MB, free: 9.426 MB / 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.8073/0.8073, allocations: 173.4 MB / 201.2 MB, free: 9.449 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 1.203e-06/1.203e-06, allocations: 0 / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.415e-05, allocations: 2.281 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002811/0.002835, allocations: 2.525 MB / 322.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003978, allocations: 0.8724 MB / 323.1 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.004138, allocations: 15.88 kB / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.004314, allocations: 67.27 kB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.004525, allocations: 71.44 kB / 323.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.00497, allocations: 247.3 kB / 323.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.005255, allocations: 382.8 kB / 323.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.005465, allocations: 133.4 kB / 324 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005632, allocations: 195.5 kB / 324.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.005755, allocations: 115.6 kB / 324.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.005789, allocations: 32 kB / 324.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.005877, allocations: 63.97 kB / 324.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.00596, allocations: 87.67 kB / 324.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.006036, allocations: 103.7 kB / 324.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.006398, allocations: 434.4 kB / 325 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.0064, allocations: 0 / 325 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006401, allocations: 0 / 325 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.006407, allocations: 0 / 325 MB, free: 0.5508 MB / 282.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.0006962/0.007104, allocations: 0.5715 MB / 325.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.007136, allocations: 8.031 kB / 325.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.007197, allocations: 48.59 kB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.007529, allocations: 273.1 kB / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.00755, allocations: 25.03 kB / 325.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.007584, allocations: 28.38 kB / 325.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.008425, allocations: 0.7892 MB / 326.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.008441, allocations: 8.109 kB / 326.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.008462, allocations: 15.94 kB / 326.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.00847, allocations: 8 kB / 326.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.008769, allocations: 211.8 kB / 326.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.009293, allocations: 0.6064 MB / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.009904, allocations: 460.7 kB / 328 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.01016, allocations: 244.7 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.01039, allocations: 67.88 kB / 328.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01041, allocations: 38.56 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.563e-06/0.01042, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008153/0.01123, allocations: 0.5319 MB / 328.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.01132, allocations: 211.9 kB / 329.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.01149, allocations: 249.9 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01151, allocations: 37.7 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.01158, allocations: 152.9 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.0116, allocations: 35.78 kB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.01164, allocations: 37.7 kB / 329.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.01172, allocations: 334.8 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.01179, allocations: 52.08 kB / 330 MB, free: 11.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.0119, allocations: 192.2 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.01205, allocations: 169.3 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01205, allocations: 0 / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002121/0.01226, allocations: 205.5 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01228, allocations: 7.984 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01228, allocations: 4 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.0123, allocations: 7.938 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.01238, allocations: 35.92 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01238, allocations: 4 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.01245, allocations: 23.88 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01246, allocations: 8 kB / 330.6 MB, free: 10.53 MB / 298.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.0001167/0.01257, allocations: 168 kB / 330.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.01292, allocations: 338.3 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.01332, allocations: 361.2 kB / 331.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.01332, allocations: 11.94 kB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.01333, allocations: 3.938 kB / 331.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01333, allocations: 7.984 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01352, allocations: 216.9 kB / 331.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.01353, allocations: 4 kB / 331.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.01373, allocations: 99.88 kB / 331.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.01373, allocations: 4 kB / 331.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01374, allocations: 8 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01375, allocations: 4 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01375, allocations: 3.938 kB / 331.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.01445, allocations: 0.7769 MB / 332.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.01449, allocations: 43.62 kB / 332.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.01452, allocations: 12 kB / 332.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01464, allocations: 27.97 kB / 332.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.01467, allocations: 7.938 kB / 332.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.01469, allocations: 24.05 kB / 332.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.0148, allocations: 181.2 kB / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0148, allocations: 0 / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01503, allocations: 59.95 kB / 332.9 MB, free: 8.125 MB / 298.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.0001409/0.01518, allocations: 135 kB / 333.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.01549, allocations: 223.5 kB / 333.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01549, allocations: 0 / 333.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.01554, allocations: 31.97 kB / 333.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.01614, allocations: 302.5 kB / 333.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/0.01698, allocations: 0.7273 MB / 334.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.0171, allocations: 205.7 kB / 334.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.01715, allocations: 32.48 kB / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01715, allocations: 0 / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of Templates: time 0.004267/0.02141, allocations: 4.186 MB / 338.8 MB, free: 2.242 MB / 298.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=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.538564422167838]