Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001282/0.001282, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001273/0.001273, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.377/1.377, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 43.94 kB / 371.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 52.19 MB / 423.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002425/0.266, allocations: 0.9793 MB / 424.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.2663, allocations: 111.6 kB / 424.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.2664, allocations: 4 kB / 424.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.2664, allocations: 3.938 kB / 424.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2665, allocations: 15.86 kB / 424.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.2668, allocations: 39.91 kB / 424.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2669, allocations: 43.84 kB / 424.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.267, allocations: 16.17 kB / 424.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.267, allocations: 15.94 kB / 424.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.2671, allocations: 19.86 kB / 424.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2671, allocations: 4 kB / 424.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.2671, allocations: 0 / 424.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.2671, allocations: 23.91 kB / 424.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.2672, allocations: 23.81 kB / 424.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.2673, allocations: 59.39 kB / 424.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2673, allocations: 4 kB / 424.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2673, allocations: 3.938 kB / 424.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2673, allocations: 0 / 424.8 MB, free: 13.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.0003915/0.2677, allocations: 303.1 kB / 425.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2677, allocations: 8.031 kB / 425.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.2678, allocations: 8.125 kB / 425.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.2678, allocations: 38.73 kB / 425.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.2678, allocations: 12.89 kB / 425.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.268, allocations: 130.4 kB / 425.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.268, allocations: 4.375 kB / 425.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.268, allocations: 4.375 kB / 425.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.2683, allocations: 135.3 kB / 425.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.2683, allocations: 4 kB / 425.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2683, allocations: 3.984 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2683, allocations: 4 kB / 425.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.2684, allocations: 12 kB / 425.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.2685, allocations: 144.7 kB / 425.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.2687, allocations: 70.69 kB / 425.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.2687, allocations: 32.86 kB / 425.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2687, allocations: 0 / 425.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2688, allocations: 42.48 kB / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2688, allocations: 0 / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001909/0.269, allocations: 85.78 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.269, allocations: 59.41 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2691, allocations: 140.7 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2692, allocations: 25.7 kB / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2692, allocations: 88.14 kB / 426.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2692, allocations: 11.94 kB / 426.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.2693, allocations: 21.72 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2694, allocations: 322.8 kB / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.2694, allocations: 4 kB / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.2695, allocations: 58.86 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.2695, allocations: 74.75 kB / 426.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2696, allocations: 0 / 426.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001323/0.2697, allocations: 93.39 kB / 426.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2697, allocations: 4 kB / 426.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2697, allocations: 7.984 kB / 426.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2697, allocations: 8.375 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.2698, allocations: 16 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2698, allocations: 3.938 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.2698, allocations: 8 kB / 426.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2698, allocations: 4 kB / 426.7 MB, free: 11.15 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 0.000105/0.2699, allocations: 125.8 kB / 426.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.27, allocations: 73.58 kB / 426.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.2701, allocations: 12.72 kB / 427 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2701, allocations: 0 / 427 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2701, allocations: 0 / 427 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2701, allocations: 4 kB / 427 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2702, allocations: 152.6 kB / 427.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2702, allocations: 3.938 kB / 427.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.2703, allocations: 11.94 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2703, allocations: 4 kB / 427.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2703, allocations: 4 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2703, allocations: 0 / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2703, allocations: 0 / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.2704, allocations: 105.4 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.2705, allocations: 23.88 kB / 427.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2705, allocations: 4 kB / 427.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.2705, allocations: 7.984 kB / 427.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.2705, allocations: 0 / 427.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.2705, allocations: 4 kB / 427.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.45e-05/0.2706, allocations: 107.2 kB / 427.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2706, allocations: 0 / 427.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.2708, allocations: 4 kB / 427.4 MB, free: 10.43 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.0004922/0.2713, allocations: 0.6631 MB / 428 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.2714, allocations: 39.92 kB / 428.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2714, allocations: 0 / 428.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.2714, allocations: 0.5625 kB / 428.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.2717, allocations: 43.95 kB / 428.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2729, allocations: 1.351 MB / 429.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2732, allocations: 0.7002 MB / 430.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2732, allocations: 11.88 kB / 430.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.2733, allocations: 19.42 kB / 430.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2733, allocations: 0 / 430.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2941, allocations: 1.91 MB / 432.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.66, allocations: 11.98 kB / 432.1 MB, free: 5.652 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,assignClock1.u,assignClock1.y,const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start [Calling sys.exit(0), Time elapsed: 13.047119583003223]