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.001252/0.001252, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.00138/0.00138, allocations: 189 kB / 21.43 MB, free: 1.641 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.382/1.382, allocations: 225.6 MB / 249.8 MB, free: 3.492 MB / 190.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.001562/0.001562, allocations: 51.92 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09765, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002355/0.1, allocations: 0.9588 MB / 419.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.1004, allocations: 123.5 kB / 419.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.1004, allocations: 4 kB / 419.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.1005, allocations: 3.938 kB / 419.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.1006, allocations: 7.875 kB / 419.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1008, allocations: 43.95 kB / 419.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1009, allocations: 35.92 kB / 419.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.101, allocations: 24.11 kB / 419.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.1011, allocations: 19.86 kB / 419.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.1011, allocations: 15.92 kB / 419.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1011, allocations: 8 kB / 419.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.1011, allocations: 7.938 kB / 419.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1012, allocations: 8 kB / 419.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1012, allocations: 27.8 kB / 419.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1013, allocations: 55.67 kB / 419.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1013, allocations: 4 kB / 419.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1013, allocations: 0 / 419.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1013, allocations: 0 / 419.8 MB, free: 11.25 MB / 350.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.0004573/0.1018, allocations: 387 kB / 420.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1018, allocations: 8.031 kB / 420.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.344e-05/0.1018, allocations: 12.12 kB / 420.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.1019, allocations: 34.75 kB / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.1019, allocations: 8.891 kB / 420.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1021, allocations: 200.2 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1021, allocations: 4.375 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1022, allocations: 384 / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1024, allocations: 131.4 kB / 420.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1024, allocations: 0 / 420.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1024, allocations: 7.938 kB / 420.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1024, allocations: 0 / 420.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.1025, allocations: 15.98 kB / 420.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.1026, allocations: 169.6 kB / 420.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1028, allocations: 74.69 kB / 420.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.1028, allocations: 32.8 kB / 420.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1028, allocations: 0 / 420.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1029, allocations: 38.48 kB / 420.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.1029, allocations: 4 kB / 420.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002103/0.1031, allocations: 89.77 kB / 421 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.1031, allocations: 63.41 kB / 421.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1033, allocations: 129.8 kB / 421.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1033, allocations: 29.7 kB / 421.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.1033, allocations: 84.14 kB / 421.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1034, allocations: 7.938 kB / 421.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1034, allocations: 25.72 kB / 421.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1036, allocations: 318.8 kB / 421.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.1036, allocations: 12 kB / 421.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.1036, allocations: 58.86 kB / 421.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.1037, allocations: 70.75 kB / 421.8 MB, free: 9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1037, allocations: 4 kB / 421.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001393/0.1039, allocations: 89.64 kB / 421.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1039, allocations: 10.25 kB / 421.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1039, allocations: 11.92 kB / 421.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1039, allocations: 4 kB / 421.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.104, allocations: 12 kB / 421.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.104, allocations: 0 / 421.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.104, allocations: 4 kB / 421.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.104, allocations: 4.188 kB / 421.9 MB, free: 8.859 MB / 350.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.0001133/0.1041, allocations: 130.4 kB / 422.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/0.1042, allocations: 73.53 kB / 422.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1043, allocations: 20.7 kB / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1043, allocations: 0 / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1043, allocations: 0 / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1043, allocations: 0 / 422.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1044, allocations: 177.5 kB / 422.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1044, allocations: 11.94 kB / 422.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1045, allocations: 8 kB / 422.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1045, allocations: 0 / 422.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1045, allocations: 4 kB / 422.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1045, allocations: 4.328 kB / 422.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1045, allocations: 7.938 kB / 422.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1047, allocations: 101.1 kB / 422.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1047, allocations: 96.98 kB / 422.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1048, allocations: 7.984 kB / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.1048, allocations: 0 / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-06/0.1048, allocations: 0 / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.1048, allocations: 0 / 422.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.1049, allocations: 103.3 kB / 422.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1049, allocations: 4 kB / 422.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.1051, allocations: 12 kB / 422.7 MB, free: 8.008 MB / 350.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.0005466/0.1056, allocations: 0.6631 MB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1057, allocations: 44.42 kB / 423.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1057, allocations: 0 / 423.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.1057, allocations: 0 / 423.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1061, allocations: 43.95 kB / 423.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1073, allocations: 1.339 MB / 424.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1077, allocations: 0.7001 MB / 425.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.1077, allocations: 7.984 kB / 425.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1077, allocations: 15.44 kB / 425.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1077, allocations: 4 kB / 425.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.1249, allocations: 1.792 MB / 427.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/7.951, allocations: 9.422 kB / 427.3 MB, free: 3.344 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.347856615961064]