Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001285/0.001285, allocations: 110 kB / 20.43 MB, free: 1.453 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.001411/0.001411, allocations: 213.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.88 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2703, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002693/0.273, allocations: 1.448 MB / 432.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.2732, allocations: 99.69 kB / 432.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.2733, allocations: 0 / 432.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.2733, allocations: 7.922 kB / 432.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.8e-05/0.2734, allocations: 7.922 kB / 432.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2736, allocations: 19.92 kB / 432.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.2736, allocations: 23.94 kB / 432.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.2737, allocations: 15.97 kB / 432.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2738, allocations: 15.88 kB / 432.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.2738, allocations: 11.92 kB / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2738, allocations: 0 / 432.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.2738, allocations: 4 kB / 432.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2738, allocations: 4 kB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.2739, allocations: 15.88 kB / 432.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.552e-05/0.274, allocations: 35.62 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.274, allocations: 0 / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.274, allocations: 4 kB / 432.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.274, allocations: 0 / 432.9 MB, free: 4.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.2745, allocations: 258.9 kB / 433.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2745, allocations: 8.031 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.2746, allocations: 42.73 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.2746, allocations: 0.9375 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2748, allocations: 126.4 kB / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2748, allocations: 384 / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.2748, allocations: 384 / 433.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.2751, allocations: 103.9 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2751, allocations: 3.938 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2751, allocations: 7.984 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2751, allocations: 0 / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.2752, allocations: 15.94 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.2753, allocations: 132.7 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2754, allocations: 38.56 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.2755, allocations: 16.89 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2755, allocations: 4.047 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.2755, allocations: 38.55 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2755, allocations: 0 / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.2757, allocations: 73.52 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2758, allocations: 51.59 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.2759, allocations: 105.8 kB / 433.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2759, allocations: 29.64 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.2759, allocations: 84.14 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.2759, allocations: 0 / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.276, allocations: 17.7 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2761, allocations: 322.8 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.2761, allocations: 0 / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.2762, allocations: 31.42 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.2762, allocations: 39.36 kB / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2762, allocations: 0 / 434.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.989e-05/0.2763, allocations: 57.58 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2763, allocations: 15.86 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2763, allocations: 4 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2763, allocations: 0 / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.2764, allocations: 4 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2764, allocations: 0 / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.2764, allocations: 0 / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2764, allocations: 8.125 kB / 434.5 MB, free: 3.137 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.598e-05/0.2765, allocations: 113.8 kB / 434.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.2766, allocations: 57.52 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.2766, allocations: 7.688 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.2766, allocations: 0 / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2766, allocations: 4.234 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2766, allocations: 0 / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2767, allocations: 128.8 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2767, allocations: 0 / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.2767, allocations: 8 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2767, allocations: 3.938 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2768, allocations: 4 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2768, allocations: 0 / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2768, allocations: 0 / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.2769, allocations: 81.05 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.2769, allocations: 7.953 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2769, allocations: 3.938 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.2769, allocations: 4 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-06/0.2769, allocations: 4 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2769, allocations: 0 / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.277, allocations: 91.2 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 0 / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001838/0.2771, allocations: 4 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0004392/0.2776, allocations: 0.6163 MB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.2777, allocations: 23.92 kB / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2777, allocations: 0 / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2777, allocations: 0 / 435.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.2779, allocations: 19.98 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.2789, allocations: 1.159 MB / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2792, allocations: 0.6768 MB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.152e-05/0.2792, allocations: 0 / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.2793, allocations: 11.44 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2793, allocations: 0 / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3057, allocations: 1.361 MB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.89, allocations: 7.859 kB / 438.9 MB, free: 14.62 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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: 13.193853294942528]