Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001817/0.001817, 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.002085/0.002085, allocations: 204.5 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.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 63.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3062, allocations: 53.41 MB / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003019/0.3092, allocations: 1.475 MB / 432.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.3094, allocations: 31.84 kB / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.3095, allocations: 0 / 432.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.3096, allocations: 3.938 kB / 432.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.3096, allocations: 11.94 kB / 432.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3099, allocations: 27.91 kB / 432.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.31, allocations: 23.92 kB / 432.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3101, allocations: 8 kB / 432.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.3102, allocations: 11.92 kB / 432.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.3102, allocations: 15.92 kB / 432.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.3103, allocations: 4 kB / 432.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.3103, allocations: 4 kB / 432.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3103, allocations: 7.984 kB / 432.8 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.3103, allocations: 7.938 kB / 432.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.3105, allocations: 25.59 kB / 432.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3105, allocations: 8 kB / 432.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3105, allocations: 0 / 432.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3105, allocations: 0 / 432.8 MB, free: 4.648 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.0005651/0.311, allocations: 278.2 kB / 433.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.3111, allocations: 11.98 kB / 433.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.3112, allocations: 34.73 kB / 433.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3112, allocations: 8.891 kB / 433.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3115, allocations: 126.4 kB / 433.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3115, allocations: 384 / 433.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3115, allocations: 4.375 kB / 433.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.3119, allocations: 115.9 kB / 433.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3119, allocations: 7.875 kB / 433.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3119, allocations: 4 kB / 433.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3119, allocations: 0 / 433.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3121, allocations: 23.97 kB / 433.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.3122, allocations: 132.7 kB / 433.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3124, allocations: 54.48 kB / 433.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.3125, allocations: 24.92 kB / 433.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.3125, allocations: 4 kB / 433.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3125, allocations: 34.56 kB / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3125, allocations: 0 / 433.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003034/0.3128, allocations: 85.53 kB / 433.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.3129, allocations: 55.41 kB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.313, allocations: 105.8 kB / 433.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.313, allocations: 25.7 kB / 433.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.3131, allocations: 84.14 kB / 434 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.3131, allocations: 4 kB / 434 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3131, allocations: 17.7 kB / 434 MB, free: 3.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3132, allocations: 318.8 kB / 434.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.3133, allocations: 4 kB / 434.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.3133, allocations: 35.42 kB / 434.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.3134, allocations: 39.31 kB / 434.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3134, allocations: 0 / 434.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.048e-05/0.3134, allocations: 61.58 kB / 434.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3135, allocations: 16.06 kB / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3135, allocations: 0 / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3135, allocations: 0 / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.3135, allocations: 12.31 kB / 434.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3136, allocations: 4 kB / 434.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.3136, allocations: 4 kB / 434.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3136, allocations: 4 kB / 434.5 MB, free: 2.719 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.712e-05/0.3137, allocations: 110 kB / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3138, allocations: 73.58 kB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.3139, allocations: 8 kB / 434.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3139, allocations: 4 kB / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3139, allocations: 0 / 434.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3139, allocations: 7.938 kB / 434.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.314, allocations: 124.7 kB / 434.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.314, allocations: 0 / 434.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.314, allocations: 12 kB / 434.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.314, allocations: 3.938 kB / 434.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.314, allocations: 3.984 kB / 434.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.314, allocations: 0 / 434.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.314, allocations: 3.938 kB / 434.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.3142, allocations: 89.11 kB / 434.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.3142, allocations: 7.953 kB / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3143, allocations: 3.938 kB / 435 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.3143, allocations: 7.984 kB / 435 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-06/0.3143, allocations: 0 / 435 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3143, allocations: 0 / 435 MB, free: 2.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.028e-05/0.3144, allocations: 87.28 kB / 435 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3144, allocations: 0 / 435 MB, free: 2.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.3145, allocations: 4 kB / 435.1 MB, free: 2.094 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005955/0.3151, allocations: 0.6543 MB / 435.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3153, allocations: 31.98 kB / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3153, allocations: 0 / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-07/0.3153, allocations: 0 / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3156, allocations: 27.97 kB / 435.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3169, allocations: 1.178 MB / 436.9 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.064e-05/0.317, allocations: 63.34 kB / 437 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.317, allocations: 256 / 437 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.3171, allocations: 19.44 kB / 437 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3171, allocations: 0 / 437 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3467, allocations: 1.913 MB / 438.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11, allocations: 0 / 438.9 MB, free: 14.18 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.520493909250945]