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.000962/0.000962, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001868/0.001868, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9563/0.9563, allocations: 177.1 MB / 204.2 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 2.565e-06/2.565e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.8e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002005/0.002033, allocations: 0.9589 MB / 325.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.002681, allocations: 119.6 kB / 325.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.002779, allocations: 3.938 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.299e-05/0.002842, allocations: 7.875 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.003045, allocations: 11.92 kB / 325.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.003373, allocations: 39.84 kB / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003521, allocations: 39.84 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.003682, allocations: 28.16 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.003747, allocations: 19.92 kB / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.003803, allocations: 11.98 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.003832, allocations: 4 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.003846, allocations: 4 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.003923, allocations: 15.92 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.003968, allocations: 15.92 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004132, allocations: 51.8 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.004137, allocations: 0 / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.004139, allocations: 0 / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.004146, allocations: 0 / 325.9 MB, free: 14.59 MB / 298.7 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.000494/0.00464, allocations: 313.1 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.004691, allocations: 12.03 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.004728, allocations: 34.75 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.004762, allocations: 12.84 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.005047, allocations: 129.7 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005059, allocations: 4.375 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.005071, allocations: 4.375 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.00535, allocations: 131.8 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.005358, allocations: 192 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005369, allocations: 384 / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.005378, allocations: 3.938 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.005416, allocations: 15.98 kB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.005561, allocations: 148.6 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.005704, allocations: 66.62 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.005752, allocations: 36.89 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005765, allocations: 4 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.005794, allocations: 34.56 kB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.005796, allocations: 0 / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001988/0.005995, allocations: 93.56 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.00606, allocations: 59.34 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.006171, allocations: 137.2 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.006189, allocations: 29.7 kB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.006235, allocations: 88.14 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.00625, allocations: 0 / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.006283, allocations: 17.7 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.006376, allocations: 314.8 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.006391, allocations: 4 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-06/0.006399, allocations: 4 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.006428, allocations: 12.86 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.006431, allocations: 0 / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.855e-05/0.006489, allocations: 41.64 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.006508, allocations: 8 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.006514, allocations: 0 / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.006529, allocations: 3.938 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.006586, allocations: 7.938 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006592, allocations: 0 / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.006604, allocations: 4.094 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.00661, allocations: 3.984 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.657e-05/0.006687, allocations: 117.8 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.00675, allocations: 73.81 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.006783, allocations: 12.77 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.006787, allocations: 7.938 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.006792, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006796, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.971e-05/0.006865, allocations: 128.8 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.006869, allocations: 8 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.006919, allocations: 23.92 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006921, allocations: 3.938 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.006929, allocations: 4 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.006932, allocations: 3.938 kB / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006934, allocations: 0 / 328 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/0.007029, allocations: 101 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.007079, allocations: 23.88 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.007099, allocations: 0 / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.007125, allocations: 7.938 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.007128, allocations: 0 / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.007137, allocations: 4 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.404e-05/0.007212, allocations: 111.2 kB / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007212, allocations: 0 / 328.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000181/0.007393, allocations: 4 kB / 328.3 MB, free: 11.96 MB / 298.7 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.0003964/0.007789, allocations: 0.6553 MB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.007892, allocations: 23.98 kB / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.007895, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.007896, allocations: 0 / 328.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.008218, allocations: 54.83 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.009106, allocations: 1.199 MB / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.009171, allocations: 79.08 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.631e-05/0.009187, allocations: 0 / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.009241, allocations: 24.48 kB / 330.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.009241, allocations: 0 / 330.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.02867, allocations: 2.336 MB / 332.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.221, allocations: 2.75 kB / 332.6 MB, free: 7.586 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 9.011423604562879]