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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001728/0.001728, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.533/1.533, allocations: 230.4 MB / 255.4 MB, free: 14.98 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [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.001873/0.001873, allocations: 63.83 kB / 374.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 53.32 MB / 428.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003179/0.1252, allocations: 1.525 MB / 429.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.1256, allocations: 139.5 kB / 429.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.1257, allocations: 7.938 kB / 429.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.1258, allocations: 3.938 kB / 429.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1259, allocations: 3.938 kB / 429.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1262, allocations: 42.77 kB / 429.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1263, allocations: 35.92 kB / 429.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1264, allocations: 11.98 kB / 429.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.83e-05/0.1264, allocations: 7.938 kB / 429.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.1265, allocations: 15.92 kB / 429.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1265, allocations: 4 kB / 429.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.1265, allocations: 0 / 429.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.1266, allocations: 11.94 kB / 429.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.1266, allocations: 27.8 kB / 429.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1268, allocations: 47.75 kB / 429.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1268, allocations: 3.938 kB / 429.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1268, allocations: 4 kB / 429.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1268, allocations: 0 / 429.9 MB, free: 2.527 MB / 350.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.0005413/0.1273, allocations: 371.1 kB / 430.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1274, allocations: 8.031 kB / 430.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1274, allocations: 8.891 kB / 430.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1277, allocations: 184.3 kB / 430.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1277, allocations: 4.375 kB / 430.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1277, allocations: 8.359 kB / 430.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.128, allocations: 113.5 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.128, allocations: 192 / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.128, allocations: 3.938 kB / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.128, allocations: 0 / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.1281, allocations: 19.92 kB / 430.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.1285, allocations: 269.7 kB / 430.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1287, allocations: 134.2 kB / 431 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.1287, allocations: 25.78 kB / 431.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1288, allocations: 4 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1288, allocations: 34.55 kB / 431.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1288, allocations: 0 / 431.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000243/0.129, allocations: 69.58 kB / 431.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.1291, allocations: 85.05 kB / 431.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1292, allocations: 140.8 kB / 431.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1293, allocations: 29.7 kB / 431.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.1293, allocations: 80.14 kB / 431.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.1293, allocations: 4 kB / 431.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.1294, allocations: 21.67 kB / 431.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1295, allocations: 318.8 kB / 431.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.1296, allocations: 4 kB / 431.8 MB, free: 368 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.1296, allocations: 35.42 kB / 431.9 MB, free: 320 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.1297, allocations: 39.38 kB / 431.9 MB, free: 268 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1297, allocations: 0 / 431.9 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.1298, allocations: 65.59 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1298, allocations: 4 kB / 432 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1298, allocations: 4 kB / 432 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1298, allocations: 0 / 432 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-05/0.1299, allocations: 7.922 kB / 432 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1299, allocations: 7.938 kB / 432 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.1299, allocations: 4 kB / 432 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.1299, allocations: 8 kB / 432 MB, free: 160 kB / 350.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 9.796e-05/0.13, allocations: 117.9 kB / 432.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2487/0.3787, allocations: 51 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.3787, allocations: 11.69 kB / 432.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3787, allocations: 0 / 432.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3787, allocations: 1.312 kB / 432.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3788, allocations: 5 kB / 432.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3789, allocations: 168.2 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3789, allocations: 1.125 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.752e-05/0.379, allocations: 1.906 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.379, allocations: 1.406 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.379, allocations: 1.312 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.379, allocations: 2.469 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.379, allocations: 2.469 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3792, allocations: 162.7 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3792, allocations: 95.72 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3792, allocations: 4.344 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.3793, allocations: 3.234 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3793, allocations: 1.312 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3793, allocations: 1.844 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.3794, allocations: 105.5 kB / 432.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 432.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.3797, allocations: 8.062 kB / 432.7 MB, free: 10.7 MB / 350.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.0001027/0.3798, allocations: 101.3 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.38, allocations: 28.12 kB / 432.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.38, allocations: 0 / 432.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.38, allocations: 5.359 kB / 432.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3803, allocations: 24.2 kB / 432.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.3807, allocations: 180.9 kB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3808, allocations: 0.6877 MB / 433.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.3808, allocations: 10.94 kB / 433.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3808, allocations: 0 / 433.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Templates: time 0.002336/0.3832, allocations: 0.6837 MB / 434.5 MB, free: 9.746 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.095227265032008]