Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.001039/0.001039, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002501, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007099/0.0007099, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009543/0.001664, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9704/0.9704, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08477/1.055, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.18e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002173/0.002195, allocations: 1.72 MB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.002449, allocations: 183.2 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.002516, allocations: 4 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.002552, allocations: 11.86 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.002607, allocations: 7.938 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.002758, allocations: 55.75 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.002855, allocations: 59.84 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.088e-05/0.002936, allocations: 24.2 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.003001, allocations: 39.91 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.003037, allocations: 19.91 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.003058, allocations: 8 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.003069, allocations: 8 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.004179, allocations: 19.92 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.004236, allocations: 15.94 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.004463, allocations: 47.77 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.004476, allocations: 0 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.004479, allocations: 0 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.004491, allocations: 3.938 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005549/0.005046, allocations: 304.2 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.005094, allocations: 12.03 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.005146, allocations: 8.938 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.005373, allocations: 145.5 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.005395, allocations: 8.375 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.005411, allocations: 4.375 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.005691, allocations: 170.9 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005699, allocations: 192 / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.005708, allocations: 384 / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005717, allocations: 8.359 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.005761, allocations: 27.86 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.00605, allocations: 249.2 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.006171, allocations: 91.89 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.006219, allocations: 42.56 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.006241, allocations: 4 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.006268, allocations: 34.56 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.00627, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001873/0.006458, allocations: 93.69 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.006515, allocations: 110.8 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.00662, allocations: 141.9 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.006637, allocations: 29.7 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.00669, allocations: 92.3 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.006704, allocations: 7.938 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.006754, allocations: 21.7 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.006857, allocations: 314.8 kB / 249.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.00687, allocations: 4 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.006892, allocations: 13.7 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.006928, allocations: 29.81 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.006932, allocations: 0 / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.721e-05/0.007009, allocations: 41.62 kB / 249.4 MB, free: 9.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.007027, allocations: 4 kB / 249.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007032, allocations: 0 / 249.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007044, allocations: 3.938 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/0.007066, allocations: 4 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007069, allocations: 3.984 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.007117, allocations: 64 / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007124, allocations: 4 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 8.794e-05/0.007212, allocations: 112.7 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.007317, allocations: 65.61 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.007356, allocations: 16.78 kB / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.007361, allocations: 3.938 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007364, allocations: 4 kB / 249.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.007373, allocations: 3.984 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.007556, allocations: 77.81 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.007559, allocations: 4 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.007576, allocations: 3.938 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.007628, allocations: 27.89 kB / 249.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.007632, allocations: 4 kB / 249.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007638, allocations: 0 / 249.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.007641, allocations: 0 / 249.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.007645, allocations: 7.938 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007793, allocations: 219.6 kB / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.007808, allocations: 4 kB / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.007907, allocations: 0 / 250 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.007933, allocations: 7.938 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.007942, allocations: 4 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.007975, allocations: 28.88 kB / 250 MB, free: 8.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007975, allocations: 3.938 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.008185, allocations: 8 kB / 250 MB, free: 8.477 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.000112/0.008297, allocations: 84.41 kB / 250.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.008383, allocations: 32.78 kB / 250.1 MB, free: 8.352 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.008388, allocations: 0 / 250.1 MB, free: 8.352 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.008409, allocations: 17.03 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.008775, allocations: 102.2 kB / 250.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.009309, allocations: 210.5 kB / 250.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.009361, allocations: 67.34 kB / 250.5 MB, free: 7.898 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.009382, allocations: 0 / 250.5 MB, free: 7.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.009449, allocations: 59.36 kB / 250.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of SimCode: time 1.383e-06/0.00945, allocations: 0 / 250.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of Templates: time 0.003105/0.01255, allocations: 0.8145 MB / 251.4 MB, free: 7.043 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.42668419983238]