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.00125/0.00125, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001383/0.001383, allocations: 192.8 kB / 24.49 MB, free: 3.945 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.357/1.357, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001483/0.001483, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2435, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002241/0.2457, allocations: 0.9524 MB / 424.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.246, allocations: 103.7 kB / 424.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.2461, allocations: 7.938 kB / 424.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.2462, allocations: 7.922 kB / 424.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2463, allocations: 3.938 kB / 424.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.2465, allocations: 55.81 kB / 424.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2466, allocations: 39.86 kB / 424.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2467, allocations: 22.28 kB / 424.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.2467, allocations: 15.92 kB / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.2468, allocations: 19.86 kB / 424.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.2468, allocations: 4 kB / 424.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.2468, allocations: 4 kB / 424.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.2469, allocations: 15.92 kB / 424.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.2469, allocations: 19.86 kB / 424.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.247, allocations: 63.62 kB / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.247, allocations: 4 kB / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.247, allocations: 0 / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.247, allocations: 0 / 424.7 MB, free: 13.05 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.0004157/0.2474, allocations: 301.9 kB / 425 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.2475, allocations: 12.03 kB / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.068e-05/0.2475, allocations: 192 / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.2475, allocations: 38.75 kB / 425 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.2475, allocations: 8.891 kB / 425 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2478, allocations: 136.9 kB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2478, allocations: 4.375 kB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2478, allocations: 8.375 kB / 425.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.248, allocations: 131.4 kB / 425.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.248, allocations: 7.938 kB / 425.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.248, allocations: 0 / 425.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2481, allocations: 0 / 425.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.2481, allocations: 12 kB / 425.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2482, allocations: 140.7 kB / 425.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.2484, allocations: 74.66 kB / 425.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.2484, allocations: 33.05 kB / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2485, allocations: 0 / 425.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2485, allocations: 42.48 kB / 425.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.2485, allocations: 0 / 425.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001888/0.2487, allocations: 89.56 kB / 425.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.2487, allocations: 59.41 kB / 425.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2489, allocations: 137.8 kB / 425.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2489, allocations: 25.7 kB / 425.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.2489, allocations: 84.14 kB / 426 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2489, allocations: 11.95 kB / 426 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.249, allocations: 25.7 kB / 426 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2491, allocations: 314.8 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.2491, allocations: 8 kB / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.2492, allocations: 62.8 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.062e-05/0.2493, allocations: 70.81 kB / 426.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2493, allocations: 0 / 426.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001288/0.2494, allocations: 97.38 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2494, allocations: 11.94 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2494, allocations: 0 / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.2494, allocations: 4.25 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.2495, allocations: 23.92 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2495, allocations: 8 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.2496, allocations: 0 / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2496, allocations: 4 kB / 426.6 MB, free: 10.86 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 8.872e-05/0.2497, allocations: 121.8 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2498, allocations: 77.52 kB / 426.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.2498, allocations: 12.72 kB / 426.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2498, allocations: 0 / 426.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2498, allocations: 0 / 426.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2498, allocations: 7.984 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2499, allocations: 144.8 kB / 427 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2499, allocations: 3.938 kB / 427 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.25, allocations: 19.92 kB / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.25, allocations: 0 / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.25, allocations: 0 / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.25, allocations: 0 / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.25, allocations: 0 / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2501, allocations: 109 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2501, allocations: 19.88 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2502, allocations: 4 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.2502, allocations: 0 / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-06/0.2502, allocations: 4 kB / 427.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2502, allocations: 0 / 427.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.2503, allocations: 106.7 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2503, allocations: 0 / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.2505, allocations: 12 kB / 427.3 MB, free: 10.15 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.0004873/0.251, allocations: 0.6592 MB / 427.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.2511, allocations: 43.91 kB / 428 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2511, allocations: 0.5625 kB / 428 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.2511, allocations: 4 kB / 428 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2513, allocations: 41.31 kB / 428 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2525, allocations: 1.352 MB / 429.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.2526, allocations: 83.25 kB / 429.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.2526, allocations: 11.94 kB / 429.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.2527, allocations: 19.44 kB / 429.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2527, allocations: 0 / 429.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.2746, allocations: 1.956 MB / 431.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.82, allocations: 7.922 kB / 431.4 MB, free: 5.957 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.200195727986284]