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.00258/0.00258, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.002949/0.002949, allocations: 165.3 kB / 24.27 MB, free: 148 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.622/1.622, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.953e-06/1.953e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.059e-05/4.254e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005086/0.005128, allocations: 2.622 MB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.007459, allocations: 0.9191 MB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.007798, allocations: 15.88 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.008069, allocations: 55.39 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.008398, allocations: 71.31 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.009188, allocations: 251.4 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.009694, allocations: 386.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.009999, allocations: 129.4 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.01032, allocations: 195.5 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.01053, allocations: 111.6 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.0106, allocations: 32 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.01075, allocations: 67.91 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.0109, allocations: 91.66 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01104, allocations: 103.7 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.01173, allocations: 430.5 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.01174, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01174, allocations: 4 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.01175, allocations: 0 / 277.7 MB, free: 12.38 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.001572/0.01332, allocations: 0.6826 MB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01336, allocations: 8.031 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.0135, allocations: 64.7 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.01401, allocations: 280 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.01406, allocations: 29.02 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.01412, allocations: 28.38 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.01562, allocations: 0.7713 MB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.01564, allocations: 4.125 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.01568, allocations: 15.94 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.01569, allocations: 8 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.01619, allocations: 179.8 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.01731, allocations: 0.7925 MB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.01841, allocations: 491.2 kB / 281.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.01887, allocations: 254.7 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.01933, allocations: 79.88 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.01937, allocations: 41.39 kB / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.354e-06/0.01938, allocations: 0 / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.001232/0.02061, allocations: 0.4893 MB / 281.9 MB, free: 7.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.0208, allocations: 207.7 kB / 282.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.02122, allocations: 340.3 kB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.02126, allocations: 37.7 kB / 282.5 MB, free: 7.297 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.02144, allocations: 215.7 kB / 282.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.02149, allocations: 35.8 kB / 282.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.02157, allocations: 47.36 kB / 282.8 MB, free: 6.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003237/0.02189, allocations: 0.5157 MB / 283.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.02198, allocations: 23.98 kB / 283.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.02224, allocations: 217 kB / 283.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.02252, allocations: 172.4 kB / 283.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02253, allocations: 0 / 283.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003612/0.02289, allocations: 173.4 kB / 283.9 MB, free: 5.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.02291, allocations: 8 kB / 283.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.02292, allocations: 0 / 283.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.02294, allocations: 7.938 kB / 283.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.02309, allocations: 44.02 kB / 283.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.0231, allocations: 7.938 kB / 283.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.02322, allocations: 15.89 kB / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.02324, allocations: 8 kB / 284 MB, free: 5.684 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.0002319/0.02347, allocations: 217.1 kB / 284.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/0.02417, allocations: 338.3 kB / 284.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.0249, allocations: 332.6 kB / 284.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.02491, allocations: 11.94 kB / 284.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.02492, allocations: 0 / 284.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.02492, allocations: 0 / 284.8 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.0256, allocations: 256.2 kB / 285.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.02561, allocations: 8 kB / 285.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.026, allocations: 99.81 kB / 285.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.02601, allocations: 4 kB / 285.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.02604, allocations: 8 kB / 285.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.02604, allocations: 0 / 285.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.02605, allocations: 7.938 kB / 285.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.0274, allocations: 0.8335 MB / 286 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.02747, allocations: 39.72 kB / 286.1 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.02752, allocations: 15.98 kB / 286.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.02775, allocations: 23.98 kB / 286.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.0278, allocations: 7.875 kB / 286.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.02783, allocations: 16 kB / 286.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002548/0.02809, allocations: 233.1 kB / 286.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02809, allocations: 4 kB / 286.4 MB, free: 3.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.02848, allocations: 55.95 kB / 286.4 MB, free: 3.125 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.0002447/0.02872, allocations: 131.1 kB / 286.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.02924, allocations: 210.9 kB / 286.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.02925, allocations: 0 / 286.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.02933, allocations: 35.61 kB / 286.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.03044, allocations: 286.9 kB / 287.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.03278, allocations: 0.7104 MB / 287.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.03304, allocations: 205.8 kB / 288 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.337e-05/0.03312, allocations: 18.98 kB / 288 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.0332, allocations: 28.5 kB / 288 MB, free: 1.426 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0332, allocations: 3.938 kB / 288 MB, free: 1.422 MB / 266.7 MB Notification: Performance of Templates: time 0.01108/0.04428, allocations: 4.651 MB / 292.7 MB, free: 12.83 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=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","/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.793924442958087]