Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005497/0.005497, allocations: 109.4 kB / 21.98 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 212.2 kB / 25.29 MB, free: 3.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002262/0.2762, allocations: 0.8752 MB / 434 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.2765, allocations: 115.6 kB / 434.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.2766, allocations: 7.938 kB / 434.2 MB, free: 6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.2767, allocations: 3.938 kB / 434.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2768, allocations: 7.922 kB / 434.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.277, allocations: 39.83 kB / 434.2 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2771, allocations: 43.86 kB / 434.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2772, allocations: 15.98 kB / 434.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.2772, allocations: 15.94 kB / 434.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.2773, allocations: 15.92 kB / 434.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.2773, allocations: 7.984 kB / 434.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.2773, allocations: 4 kB / 434.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.2774, allocations: 15.92 kB / 434.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2774, allocations: 27.81 kB / 434.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.2776, allocations: 59.53 kB / 434.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2776, allocations: 0 / 434.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2776, allocations: 0 / 434.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2776, allocations: 0 / 434.4 MB, free: 5.75 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.0004514/0.278, allocations: 291.5 kB / 434.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2781, allocations: 8.031 kB / 434.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.2781, allocations: 8.891 kB / 434.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.2784, allocations: 146.3 kB / 434.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2784, allocations: 8.375 kB / 434.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2784, allocations: 384 / 434.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.2787, allocations: 131.8 kB / 435 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2787, allocations: 4.125 kB / 435 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2787, allocations: 3.938 kB / 435 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.2787, allocations: 4 kB / 435 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.2788, allocations: 23.98 kB / 435 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2789, allocations: 136.7 kB / 435.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2791, allocations: 58.72 kB / 435.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.2791, allocations: 36.89 kB / 435.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2792, allocations: 3.938 kB / 435.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2792, allocations: 38.56 kB / 435.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2792, allocations: 0 / 435.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002154/0.2794, allocations: 93.78 kB / 435.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.2795, allocations: 55.48 kB / 435.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2796, allocations: 131.1 kB / 435.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2796, allocations: 29.7 kB / 435.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.2797, allocations: 80.14 kB / 435.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2797, allocations: 15.94 kB / 435.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2797, allocations: 29.72 kB / 435.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2799, allocations: 318.8 kB / 436 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.2799, allocations: 11.94 kB / 436.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.28, allocations: 66.78 kB / 436.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2801, allocations: 70.75 kB / 436.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2801, allocations: 4 kB / 436.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001333/0.2802, allocations: 85.52 kB / 436.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2802, allocations: 4 kB / 436.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2802, allocations: 11.92 kB / 436.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2803, allocations: 11.86 kB / 436.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.2803, allocations: 4 kB / 436.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.2803, allocations: 4.25 kB / 436.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.2803, allocations: 8 kB / 436.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2803, allocations: 4 kB / 436.3 MB, free: 3.613 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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.839e-05/0.2804, allocations: 125.7 kB / 436.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/0.2805, allocations: 69.64 kB / 436.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.2806, allocations: 20.3 kB / 436.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2806, allocations: 0 / 436.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2806, allocations: 0 / 436.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2806, allocations: 0 / 436.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2807, allocations: 140.7 kB / 436.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2807, allocations: 4 kB / 436.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.2807, allocations: 0 / 436.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2807, allocations: 0 / 436.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2807, allocations: 7.938 kB / 436.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2807, allocations: 7.984 kB / 436.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2807, allocations: 3.938 kB / 436.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2809, allocations: 97.06 kB / 436.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.2809, allocations: 15.94 kB / 436.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2809, allocations: 7.938 kB / 436.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.2809, allocations: 0 / 436.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-06/0.2809, allocations: 8 kB / 436.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.2809, allocations: 4 kB / 436.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.281, allocations: 101.9 kB / 436.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.281, allocations: 0 / 436.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.2812, allocations: 8 kB / 436.9 MB, free: 2.926 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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.0001025/0.2813, allocations: 95.25 kB / 437 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2815, allocations: 47.86 kB / 437.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2815, allocations: 4 kB / 437.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.2815, allocations: 0 / 437.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2818, allocations: 47.09 kB / 437.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.2822, allocations: 187.2 kB / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.2825, allocations: 0.6928 MB / 438 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.2825, allocations: 15.44 kB / 438 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2825, allocations: 3.938 kB / 438 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Templates: time 0.002355/0.2849, allocations: 0.8034 MB / 438.8 MB, free: 0.9727 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 6.932224719086662]