Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 203.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 53.36 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002307/0.2592, allocations: 0.9532 MB / 432 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.2595, allocations: 115.5 kB / 432.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.2596, allocations: 4 kB / 432.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.2597, allocations: 3.938 kB / 432.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2598, allocations: 7.875 kB / 432.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.26, allocations: 43.89 kB / 432.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2601, allocations: 39.86 kB / 432.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2602, allocations: 20.16 kB / 432.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2603, allocations: 19.92 kB / 432.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.2603, allocations: 23.86 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2603, allocations: 4 kB / 432.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.2603, allocations: 4 kB / 432.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.2604, allocations: 15.94 kB / 432.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.2604, allocations: 19.86 kB / 432.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2606, allocations: 57.36 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2606, allocations: 4 kB / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2606, allocations: 0 / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2606, allocations: 0 / 432.4 MB, free: 5.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004308/0.261, allocations: 298 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2611, allocations: 16.03 kB / 432.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.2611, allocations: 34.69 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2611, allocations: 16.84 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.2614, allocations: 126.5 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2614, allocations: 8.375 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2614, allocations: 384 / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2617, allocations: 139.5 kB / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2617, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2617, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2617, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.2617, allocations: 19.98 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.2619, allocations: 148.6 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.262, allocations: 62.64 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.2621, allocations: 32.89 kB / 433.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2621, allocations: 4 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2621, allocations: 42.5 kB / 433.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2621, allocations: 4 kB / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001884/0.2623, allocations: 85.64 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.2624, allocations: 51.41 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2625, allocations: 144.2 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2625, allocations: 25.7 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.2626, allocations: 92.08 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2626, allocations: 4 kB / 433.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.2626, allocations: 25.7 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2628, allocations: 314.8 kB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.2628, allocations: 11.98 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.2628, allocations: 54.88 kB / 434.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.2629, allocations: 78.73 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2629, allocations: 0 / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001354/0.2631, allocations: 97.39 kB / 434.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2631, allocations: 7.938 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2631, allocations: 0 / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2631, allocations: 4 kB / 434.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.2632, allocations: 15.98 kB / 434.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2632, allocations: 4 kB / 434.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.2632, allocations: 11.95 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2632, allocations: 4 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.04e-05/0.2633, allocations: 118 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.2634, allocations: 85.72 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.2634, allocations: 8.719 kB / 434.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2634, allocations: 11.97 kB / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2634, allocations: 0 / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2634, allocations: 0 / 434.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2636, allocations: 136.7 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.2636, allocations: 4 kB / 434.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.2636, allocations: 19.92 kB / 434.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2636, allocations: 3.938 kB / 434.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2636, allocations: 4 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2636, allocations: 8 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2636, allocations: 0 / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2638, allocations: 93.08 kB / 434.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.2638, allocations: 23.88 kB / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2638, allocations: 0 / 434.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.2638, allocations: 4 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.2638, allocations: 0 / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2638, allocations: 4.188 kB / 434.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.465e-05/0.2639, allocations: 103.2 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2639, allocations: 7.938 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.2641, allocations: 4 kB / 435 MB, free: 2.445 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004793/0.2646, allocations: 0.6631 MB / 435.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2647, allocations: 44.47 kB / 435.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2647, allocations: 0 / 435.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2647, allocations: 0 / 435.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.265, allocations: 49.48 kB / 435.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2662, allocations: 1.345 MB / 437.1 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.588e-05/0.2663, allocations: 83.25 kB / 437.2 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.2663, allocations: 7.953 kB / 437.2 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.2663, allocations: 23.42 kB / 437.2 MB, free: 64 kB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2663, allocations: 0 / 437.2 MB, free: 64 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.2945, allocations: 2.315 MB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.7, allocations: 6.172 kB / 439.5 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.028464800998336]