Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001536/0.001536, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001671/0.001671, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.442/1.442, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [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.001972/0.001972, allocations: 75.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2837, allocations: 53.32 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003909/0.2876, allocations: 1.93 MB / 434 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.2899, allocations: 1.247 MB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.29, allocations: 7.938 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.2906, allocations: 151.5 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.2911, allocations: 163.4 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.2916, allocations: 166.5 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2919, allocations: 191.5 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2921, allocations: 21.55 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2922, allocations: 79.62 kB / 436 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2923, allocations: 83.61 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2923, allocations: 8 kB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2925, allocations: 59.91 kB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.2926, allocations: 47.83 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.2927, allocations: 67.55 kB / 436.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.293, allocations: 212.7 kB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.293, allocations: 0 / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.293, allocations: 0 / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.293, allocations: 0 / 436.5 MB, free: 2.949 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009147/0.2939, allocations: 0.5193 MB / 437 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.294, allocations: 8.031 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.2941, allocations: 20.8 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.2945, allocations: 275 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.2945, allocations: 12.31 kB / 437.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2945, allocations: 8.125 kB / 437.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.2949, allocations: 150.7 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2949, allocations: 0 / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2949, allocations: 4 kB / 437.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2949, allocations: 0 / 437.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.295, allocations: 35.92 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.2956, allocations: 366.4 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.2958, allocations: 103.9 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.2959, allocations: 46.56 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.2959, allocations: 0 / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2961, allocations: 79.31 kB / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2961, allocations: 0 / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003747/0.2965, allocations: 141.6 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.2966, allocations: 140.7 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.2969, allocations: 268.9 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.2969, allocations: 33.7 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.297, allocations: 120.1 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.297, allocations: 11.91 kB / 438.8 MB, free: 376 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.2971, allocations: 33.66 kB / 438.8 MB, free: 336 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2973, allocations: 331 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.2973, allocations: 32.05 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.2974, allocations: 62 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2976, allocations: 84.25 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2976, allocations: 0 / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002097/0.2978, allocations: 113.5 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2978, allocations: 8 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2978, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2978, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.2979, allocations: 12 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2979, allocations: 4.125 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.298, allocations: 7.984 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.298, allocations: 7.938 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001477/0.2981, allocations: 158.2 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.2982, allocations: 61.5 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.2985, allocations: 107.3 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2985, allocations: 0 / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2985, allocations: 8.062 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2985, allocations: 0 / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.2987, allocations: 237.5 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2987, allocations: 4 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.2987, allocations: 8.125 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2987, allocations: 3.938 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2987, allocations: 4 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2987, allocations: 7.922 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2988, allocations: 3.984 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.299, allocations: 158.6 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2991, allocations: 105 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2992, allocations: 11.98 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.2992, allocations: 0 / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2993, allocations: 4 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2993, allocations: 7.984 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.2995, allocations: 208.4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2995, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2998, allocations: 31.94 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00151/0.3013, allocations: 417.6 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3015, allocations: 67.84 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3015, allocations: 0 / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.3016, allocations: 24.23 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.302, allocations: 64.33 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.3026, allocations: 354.1 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.303, allocations: 0.736 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.3031, allocations: 19.44 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3031, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.005402/0.3085, allocations: 2.678 MB / 444.9 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.4994982038624585]