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.001742/0.001742, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002105/0.002105, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.134e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004637/0.004668, allocations: 2.554 MB / 274.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.006784, allocations: 0.9113 MB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.007081, allocations: 15.88 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.00737, allocations: 55.39 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.007721, allocations: 71.33 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008225/0.008543, allocations: 247.4 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.009131, allocations: 382.8 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.009462, allocations: 129.4 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.009816, allocations: 203.5 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.01003, allocations: 111.6 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.49e-05/0.01011, allocations: 28 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.01026, allocations: 67.97 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.0104, allocations: 91.66 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.01054, allocations: 99.69 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.01119, allocations: 430.5 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01119, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01119, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.0112, allocations: 0 / 277.7 MB, free: 12.47 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.001222/0.01242, allocations: 0.5713 MB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.01246, allocations: 8.031 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.01261, allocations: 68.69 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.01337, allocations: 281.2 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.01341, allocations: 25.03 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.01347, allocations: 24.38 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.01508, allocations: 0.7893 MB / 279.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.0151, allocations: 4.188 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.01513, allocations: 11.94 kB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.01515, allocations: 8 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.01575, allocations: 219.8 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.01669, allocations: 0.6105 MB / 280.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.01781, allocations: 461.2 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.01833, allocations: 251.3 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.01877, allocations: 71.92 kB / 281 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.01881, allocations: 42.56 kB / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.274e-06/0.01881, allocations: 0 / 281.1 MB, free: 8.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.001385/0.0202, allocations: 0.54 MB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/0.02038, allocations: 215.7 kB / 281.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.0207, allocations: 241.9 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.02074, allocations: 41.83 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.02087, allocations: 152.8 kB / 282.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.02092, allocations: 39.72 kB / 282.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.02099, allocations: 33.7 kB / 282.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.02118, allocations: 334.8 kB / 282.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.02132, allocations: 47.95 kB / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.02158, allocations: 182.6 kB / 282.9 MB, free: 6.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.0219, allocations: 161.3 kB / 283 MB, free: 6.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.02191, allocations: 4 kB / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004492/0.02236, allocations: 217.2 kB / 283.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.02238, allocations: 5.25 kB / 283.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.02239, allocations: 4.109 kB / 283.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.02241, allocations: 11.88 kB / 283.3 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.02256, allocations: 35.92 kB / 283.3 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.02258, allocations: 12.3 kB / 283.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.02273, allocations: 19.89 kB / 283.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.02275, allocations: 15.94 kB / 283.4 MB, free: 6.387 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.0002066/0.02295, allocations: 154.2 kB / 283.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.0237, allocations: 366.3 kB / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/0.02448, allocations: 356.6 kB / 284.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.02449, allocations: 11.94 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.0245, allocations: 3.938 kB / 284.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.02451, allocations: 0 / 284.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.0249, allocations: 217 kB / 284.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.02491, allocations: 0 / 284.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.02532, allocations: 99.88 kB / 284.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.02532, allocations: 4 kB / 284.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.02536, allocations: 19.98 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.02536, allocations: 4 kB / 284.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.02537, allocations: 3.938 kB / 284.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.02709, allocations: 0.7808 MB / 285.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.02717, allocations: 43.73 kB / 285.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.02723, allocations: 19.94 kB / 285.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.02749, allocations: 27.97 kB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.02755, allocations: 11.92 kB / 285.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.02758, allocations: 12 kB / 285.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.0278, allocations: 181.2 kB / 285.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0278, allocations: 0 / 285.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000418/0.02822, allocations: 63.94 kB / 285.7 MB, free: 3.965 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.0002377/0.02845, allocations: 131.1 kB / 285.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.02909, allocations: 235.1 kB / 286.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0291, allocations: 0 / 286.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.0292, allocations: 24.61 kB / 286.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.03029, allocations: 306.3 kB / 286.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.03187, allocations: 0.7121 MB / 287.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.03211, allocations: 205.8 kB / 287.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.0322, allocations: 26.97 kB / 287.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.03227, allocations: 24.5 kB / 287.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03227, allocations: 0 / 287.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of Templates: time 0.01084/0.04311, allocations: 4.636 MB / 292 MB, free: 13.67 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.440737236989662]