Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006141/0.006141, allocations: 103.2 kB / 21.97 MB, free: 5.211 MB / 14.72 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.00172/0.00172, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 259 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004431/0.2734, allocations: 2.724 MB / 435.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2752, allocations: 0.966 MB / 436.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2754, allocations: 15.88 kB / 436.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.2757, allocations: 59.33 kB / 436.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.2759, allocations: 71.45 kB / 437 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.2766, allocations: 242.1 kB / 437.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.2771, allocations: 386.9 kB / 437.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.2774, allocations: 133.4 kB / 437.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2776, allocations: 143.4 kB / 437.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.2778, allocations: 147.2 kB / 438 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.2778, allocations: 36 kB / 438.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2779, allocations: 67.97 kB / 438.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2781, allocations: 83.69 kB / 438.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2782, allocations: 159.1 kB / 438.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.2787, allocations: 427.4 kB / 438.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2787, allocations: 0 / 438.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2787, allocations: 0 / 438.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.2788, allocations: 0 / 438.8 MB, free: 1.324 MB / 334.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.001074/0.2798, allocations: 0.5753 MB / 439.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2799, allocations: 8.031 kB / 439.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.28, allocations: 40.7 kB / 439.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.2805, allocations: 281.8 kB / 439.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.2805, allocations: 21.03 kB / 439.7 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.2806, allocations: 24.38 kB / 439.7 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.2819, allocations: 0.7409 MB / 440.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2819, allocations: 3.938 kB / 440.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.282, allocations: 12 kB / 440.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.282, allocations: 8 kB / 440.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.2825, allocations: 223.8 kB / 440.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.2834, allocations: 0.7073 MB / 441.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2845, allocations: 461.4 kB / 441.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.2849, allocations: 243.9 kB / 442.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.2854, allocations: 75.66 kB / 442.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2854, allocations: 42.5 kB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.2854, allocations: 0 / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.00126/0.2867, allocations: 0.5244 MB / 442.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.2868, allocations: 207.9 kB / 442.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2871, allocations: 258.1 kB / 443.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2871, allocations: 37.64 kB / 443.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.2873, allocations: 152.9 kB / 443.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2873, allocations: 51.72 kB / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2874, allocations: 86.12 kB / 443.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2876, allocations: 342.8 kB / 443.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.2878, allocations: 88.94 kB / 443.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.2882, allocations: 434 kB / 444.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.2889, allocations: 0.5281 MB / 444.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2889, allocations: 4 kB / 444.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000804/0.2897, allocations: 497.6 kB / 445.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2897, allocations: 12 kB / 445.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2897, allocations: 16.16 kB / 445.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.2898, allocations: 16 kB / 445.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2901, allocations: 119.8 kB / 445.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.2901, allocations: 19.94 kB / 445.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2904, allocations: 55.72 kB / 445.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.2904, allocations: 28 kB / 445.6 MB, free: 9.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.0002381/0.2907, allocations: 194 kB / 445.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.2913, allocations: 350 kB / 446.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007107/0.292, allocations: 356.7 kB / 446.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.292, allocations: 4 kB / 446.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.292, allocations: 4 kB / 446.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.292, allocations: 11.92 kB / 446.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.2924, allocations: 304.3 kB / 446.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.2924, allocations: 4 kB / 446.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.2928, allocations: 103.9 kB / 446.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2928, allocations: 4 kB / 446.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.2929, allocations: 12 kB / 447 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.2929, allocations: 0 / 447 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.2929, allocations: 7.938 kB / 447 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2942, allocations: 0.7786 MB / 447.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.2942, allocations: 43.66 kB / 447.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2943, allocations: 12 kB / 447.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2945, allocations: 27.98 kB / 447.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2946, allocations: 7.984 kB / 447.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.2946, allocations: 16 kB / 447.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.2948, allocations: 185.2 kB / 448 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2948, allocations: 0 / 448 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.2953, allocations: 75.89 kB / 448.1 MB, free: 7.277 MB / 350.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.0001936/0.2955, allocations: 135.2 kB / 448.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007403/0.2962, allocations: 348 kB / 448.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2962, allocations: 1.688 kB / 448.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2963, allocations: 27.92 kB / 448.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.2974, allocations: 303.2 kB / 448.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2989, allocations: 0.7765 MB / 449.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.2993, allocations: 0.812 MB / 450.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.2994, allocations: 27.44 kB / 450.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2994, allocations: 4 kB / 450.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Templates: time 0.007697/0.3071, allocations: 4.52 MB / 455 MB, free: 292 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.8882919328752905]