Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009081/0.0009081, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8881/0.8881, allocations: 173.3 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.437e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002211/0.002245, allocations: 1.489 MB / 319.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.002557, allocations: 139.4 kB / 320.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.002628, allocations: 3.938 kB / 320.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.002667, allocations: 7.875 kB / 320.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.002788, allocations: 11.98 kB / 320.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.002991, allocations: 31.84 kB / 320.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.003082, allocations: 39.8 kB / 320.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.003171, allocations: 4 kB / 320.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.003211, allocations: 11.98 kB / 320.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.003244, allocations: 19.91 kB / 320.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.003266, allocations: 8 kB / 320.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.003273, allocations: 0 / 320.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.003317, allocations: 4 kB / 320.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.003338, allocations: 11.94 kB / 320.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.003447, allocations: 39.88 kB / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00345, allocations: 0 / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.003451, allocations: 0 / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003455, allocations: 0 / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000344/0.003799, allocations: 282.1 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.003839, allocations: 8.922 kB / 320.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.003873, allocations: 38.75 kB / 320.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.003899, allocations: 8.891 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.004106, allocations: 133.1 kB / 320.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.004127, allocations: 4.312 kB / 320.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.004136, allocations: 4.375 kB / 320.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.004346, allocations: 85.67 kB / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004354, allocations: 192 / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004362, allocations: 384 / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.004368, allocations: 12.06 kB / 320.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.004408, allocations: 11.98 kB / 320.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.004706, allocations: 224.8 kB / 321 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.004769, allocations: 45.16 kB / 321.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.004792, allocations: 13.78 kB / 321.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.004815, allocations: 7.984 kB / 321.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.004837, allocations: 34.5 kB / 321.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.004838, allocations: 3.938 kB / 321.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001806/0.005019, allocations: 65.67 kB / 321.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.005067, allocations: 77.11 kB / 321.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.005157, allocations: 129.8 kB / 321.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.005172, allocations: 25.7 kB / 321.4 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.00521, allocations: 88.08 kB / 321.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.005219, allocations: 4 kB / 321.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.005247, allocations: 21.66 kB / 321.5 MB, free: 3.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.005319, allocations: 310.8 kB / 321.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.005341, allocations: 11.94 kB / 321.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.00535, allocations: 160 / 321.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.00538, allocations: 20.91 kB / 321.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005381, allocations: 0 / 321.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.91e-05/0.00543, allocations: 41.64 kB / 321.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005443, allocations: 7.984 kB / 321.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.005448, allocations: 4 kB / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.00546, allocations: 0 / 321.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.005475, allocations: 3.938 kB / 321.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.00548, allocations: 0 / 321.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.005492, allocations: 0 / 321.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005496, allocations: 4.031 kB / 321.9 MB, free: 2.609 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.026e-05/0.005556, allocations: 113.8 kB / 322.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.005591, allocations: 45.58 kB / 322.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.005616, allocations: 7.469 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005618, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.005622, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005626, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.005734, allocations: 136.8 kB / 322.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005735, allocations: 0 / 322.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.00574, allocations: 12.02 kB / 322.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.005743, allocations: 3.938 kB / 322.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005749, allocations: 0 / 322.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00575, allocations: 4 kB / 322.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.005753, allocations: 3.984 kB / 322.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.005836, allocations: 152.3 kB / 322.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.005859, allocations: 11.94 kB / 322.4 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.00587, allocations: 7.922 kB / 322.4 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.005903, allocations: 4 kB / 322.4 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.005928, allocations: 0 / 322.4 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005931, allocations: 4.031 kB / 322.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.005973, allocations: 103.3 kB / 322.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005973, allocations: 0 / 322.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.006114, allocations: 4 kB / 322.5 MB, free: 1.926 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002556/0.006369, allocations: 0.6858 MB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.006442, allocations: 12 kB / 323.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.006444, allocations: 0 / 323.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.411e-05/0.006458, allocations: 12.08 kB / 323.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.006696, allocations: 23.89 kB / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.007442, allocations: 1.223 MB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.007491, allocations: 67.34 kB / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.58e-05/0.007507, allocations: 3.984 kB / 324.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.007538, allocations: 12.5 kB / 324.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007538, allocations: 192 / 324.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02244, allocations: 2.027 MB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.874, allocations: 10.98 kB / 326.6 MB, free: 13.85 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,step.startTime,step.startValue,step.y,time [Calling sys.exit(0), Time elapsed: 8.526113060303032]