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.001339/0.001339, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001723/0.001723, allocations: 205.7 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.001945/0.001945, allocations: 63.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 53.41 MB / 431.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003037/0.2997, allocations: 1.439 MB / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.3, allocations: 111.6 kB / 432.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.3001, allocations: 0 / 432.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3001, allocations: 3.938 kB / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.3001, allocations: 0 / 432.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.3004, allocations: 27.91 kB / 432.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.3005, allocations: 31.86 kB / 432.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.3006, allocations: 4 kB / 432.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.3006, allocations: 15.92 kB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.703e-05/0.3006, allocations: 0 / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3007, allocations: 4 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.3007, allocations: 3.938 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.3007, allocations: 15.98 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.3007, allocations: 15.92 kB / 432.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.3008, allocations: 23.7 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3008, allocations: 0 / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3008, allocations: 0 / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3008, allocations: 0 / 432.8 MB, free: 4.723 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.0004455/0.3013, allocations: 254.9 kB / 433.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3013, allocations: 19.92 kB / 433.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.3014, allocations: 34.75 kB / 433.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.3014, allocations: 4.938 kB / 433.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3016, allocations: 126.4 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3017, allocations: 8.375 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3017, allocations: 384 / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.3019, allocations: 99.86 kB / 433.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.302, allocations: 3.938 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.302, allocations: 8 kB / 433.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.302, allocations: 4 kB / 433.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.302, allocations: 11.98 kB / 433.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.3022, allocations: 128.8 kB / 433.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3023, allocations: 50.48 kB / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3024, allocations: 20.92 kB / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3024, allocations: 0 / 433.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3024, allocations: 34.56 kB / 433.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.3024, allocations: 0 / 433.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.3026, allocations: 65.58 kB / 433.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3027, allocations: 59.28 kB / 433.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3028, allocations: 113.8 kB / 433.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3028, allocations: 25.7 kB / 433.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.3028, allocations: 84.14 kB / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/0.3029, allocations: 0 / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.3029, allocations: 21.7 kB / 434 MB, free: 3.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.303, allocations: 310.8 kB / 434.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.303, allocations: 8 kB / 434.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.3031, allocations: 27.42 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.3031, allocations: 39.38 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3031, allocations: 0 / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.877e-05/0.3032, allocations: 53.62 kB / 434.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3032, allocations: 7.938 kB / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3032, allocations: 0 / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3033, allocations: 4 kB / 434.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.3033, allocations: 3.938 kB / 434.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3033, allocations: 4 kB / 434.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.3033, allocations: 4.125 kB / 434.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.3033, allocations: 4 kB / 434.4 MB, free: 2.891 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.774e-05/0.3034, allocations: 109.8 kB / 434.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.3035, allocations: 57.58 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.3035, allocations: 11.67 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3035, allocations: 4 kB / 434.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3035, allocations: 0 / 434.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3036, allocations: 3.938 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.3037, allocations: 120.8 kB / 434.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3037, allocations: 3.984 kB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.3037, allocations: 7.938 kB / 434.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3037, allocations: 7.938 kB / 434.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3037, allocations: 256 / 434.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.3037, allocations: 4 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3037, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3038, allocations: 77.45 kB / 434.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.3038, allocations: 3.953 kB / 434.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3038, allocations: 7.922 kB / 434.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.3039, allocations: 7.938 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-06/0.3039, allocations: 4.031 kB / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.3039, allocations: 4 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.3039, allocations: 83.28 kB / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3039, allocations: 0 / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.3041, allocations: 4 kB / 434.9 MB, free: 2.297 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.0004626/0.3046, allocations: 0.624 MB / 435.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.3047, allocations: 27.92 kB / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3047, allocations: 0 / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3047, allocations: 0 / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3049, allocations: 23.03 kB / 435.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.306, allocations: 1.15 MB / 436.8 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.3061, allocations: 63.34 kB / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.258e-05/0.3061, allocations: 0 / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3061, allocations: 11.44 kB / 436.8 MB, free: 256 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3061, allocations: 0 / 436.8 MB, free: 256 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.336, allocations: 1.751 MB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.07, allocations: 0 / 438.6 MB, free: 14.61 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.530303370207548]