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.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002003/0.002003, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002153/0.002153, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.735/1.735, allocations: 230.4 MB / 251.1 MB, free: 8.445 MB / 206.1 MB 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.002057/0.002057, allocations: 67.84 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 53.31 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003311/0.3782, allocations: 1.535 MB / 423.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000423/0.3786, allocations: 139.5 kB / 423.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.3787, allocations: 0 / 423.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.3788, allocations: 3.938 kB / 423.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.3789, allocations: 7.938 kB / 423.9 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.3792, allocations: 35.89 kB / 424 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3793, allocations: 31.92 kB / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3794, allocations: 12 kB / 424 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.3794, allocations: 15.92 kB / 424 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.3795, allocations: 15.86 kB / 424 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3795, allocations: 4 kB / 424.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.3795, allocations: 4 kB / 424.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3796, allocations: 8 kB / 424.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.3796, allocations: 31.78 kB / 424.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3797, allocations: 47.14 kB / 424.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3797, allocations: 0 / 424.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3797, allocations: 0 / 424.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3797, allocations: 0 / 424.1 MB, free: 5.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005132/0.3802, allocations: 367.2 kB / 424.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3803, allocations: 12.03 kB / 424.5 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3803, allocations: 8.891 kB / 424.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3806, allocations: 188.2 kB / 424.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3806, allocations: 384 / 424.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.3806, allocations: 4.375 kB / 424.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3809, allocations: 121.5 kB / 424.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.381, allocations: 192 / 424.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.381, allocations: 3.938 kB / 424.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.381, allocations: 4 kB / 424.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.381, allocations: 15.98 kB / 424.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3814, allocations: 265.7 kB / 425.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3816, allocations: 134.2 kB / 425.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.3817, allocations: 21.78 kB / 425.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3817, allocations: 0 / 425.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3817, allocations: 50.48 kB / 425.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3817, allocations: 0 / 425.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000237/0.382, allocations: 65.58 kB / 425.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.382, allocations: 81.11 kB / 425.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3822, allocations: 136.9 kB / 425.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3822, allocations: 25.7 kB / 425.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.3822, allocations: 88.12 kB / 425.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.3823, allocations: 4.125 kB / 425.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3823, allocations: 25.67 kB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3824, allocations: 314.8 kB / 426 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.3825, allocations: 4 kB / 426 MB, free: 3.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.3825, allocations: 31.44 kB / 426.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.3826, allocations: 43.36 kB / 426.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3826, allocations: 0 / 426.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.3827, allocations: 61.56 kB / 426.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3827, allocations: 11.94 kB / 426.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3827, allocations: 3.938 kB / 426.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3827, allocations: 4.125 kB / 426.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.587e-05/0.3827, allocations: 7.984 kB / 426.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3828, allocations: 0 / 426.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.3828, allocations: 8 kB / 426.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3828, allocations: 0 / 426.2 MB, free: 3.613 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001091/0.3829, allocations: 117.8 kB / 426.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.383, allocations: 53.91 kB / 426.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.383, allocations: 11.84 kB / 426.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.383, allocations: 0 / 426.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.383, allocations: 4 kB / 426.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.383, allocations: 4 kB / 426.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3832, allocations: 173.6 kB / 426.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3832, allocations: 0 / 426.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.3832, allocations: 0 / 426.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3832, allocations: 3.984 kB / 426.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3833, allocations: 7.938 kB / 426.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3833, allocations: 0 / 426.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3833, allocations: 0 / 426.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3834, allocations: 172.3 kB / 426.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.3835, allocations: 89.05 kB / 426.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3835, allocations: 3.938 kB / 426.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.3836, allocations: 4 kB / 426.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3836, allocations: 7.984 kB / 426.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3836, allocations: 0 / 426.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.3837, allocations: 99.27 kB / 426.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3837, allocations: 0 / 426.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.3839, allocations: 12 kB / 427 MB, free: 2.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001111/0.384, allocations: 95.25 kB / 427 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3842, allocations: 27.92 kB / 427.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3842, allocations: 0 / 427.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.3842, allocations: 4 kB / 427.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3845, allocations: 24.27 kB / 427.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.3849, allocations: 162.2 kB / 427.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.3853, allocations: 0.6885 MB / 428 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.147e-05/0.3853, allocations: 3.938 kB / 428 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3853, allocations: 11.44 kB / 428 MB, free: 1.676 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3853, allocations: 0 / 428 MB, free: 1.676 MB / 334.1 MB Notification: Performance of Templates: time 0.003389/0.3887, allocations: 0.4993 MB / 428.5 MB, free: 1.18 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches