Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.002013/0.002013, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 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.002119/0.002119, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.674/1.674, allocations: 230.6 MB / 257.5 MB, free: 8.02 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+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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 51.91 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3091, allocations: 53.35 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003749/0.3129, allocations: 1.541 MB / 433.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.3134, allocations: 139.5 kB / 433.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3135, allocations: 7.938 kB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.769e-05/0.3135, allocations: 3.938 kB / 433.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.3137, allocations: 7.938 kB / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3139, allocations: 43.89 kB / 433.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3141, allocations: 35.86 kB / 433.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3142, allocations: 11.98 kB / 433.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.3143, allocations: 15.92 kB / 433.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.3143, allocations: 15.92 kB / 433.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3143, allocations: 4 kB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.3144, allocations: 0 / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.3144, allocations: 11.94 kB / 433.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3145, allocations: 23.81 kB / 433.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.3146, allocations: 56.94 kB / 433.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3146, allocations: 0 / 433.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3146, allocations: 0 / 433.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3146, allocations: 0 / 433.5 MB, free: 5.039 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005321/0.3152, allocations: 294.1 kB / 433.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3152, allocations: 11.97 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.3153, allocations: 12.89 kB / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3155, allocations: 130.4 kB / 434 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3156, allocations: 8.375 kB / 434 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3156, allocations: 4.375 kB / 434 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3159, allocations: 117.5 kB / 434.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3159, allocations: 192 / 434.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3159, allocations: 11.88 kB / 434.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3159, allocations: 0 / 434.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.316, allocations: 23.97 kB / 434.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3164, allocations: 236.8 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.3166, allocations: 61.14 kB / 434.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.3167, allocations: 25.77 kB / 434.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3167, allocations: 4 kB / 434.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3168, allocations: 34.5 kB / 434.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3168, allocations: 0 / 434.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003042/0.3171, allocations: 81.56 kB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.3172, allocations: 81.11 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3173, allocations: 145 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3174, allocations: 25.7 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.3174, allocations: 84.14 kB / 434.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.3174, allocations: 3.953 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3175, allocations: 21.72 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3177, allocations: 319 kB / 435.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.3177, allocations: 8 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.3178, allocations: 31.42 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.3179, allocations: 47.36 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3179, allocations: 0 / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001597/0.3181, allocations: 77.48 kB / 435.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3181, allocations: 4 kB / 435.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3181, allocations: 4 kB / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3181, allocations: 0 / 435.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.3182, allocations: 8.125 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3182, allocations: 4 kB / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.3182, allocations: 11.94 kB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3182, allocations: 0 / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001215/0.3183, allocations: 125.7 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.3184, allocations: 49.62 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.3185, allocations: 8.344 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3185, allocations: 0 / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3185, allocations: 4 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3185, allocations: 7.938 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.3187, allocations: 144.6 kB / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3187, allocations: 0 / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.3187, allocations: 11.98 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3187, allocations: 0 / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3187, allocations: 8 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3187, allocations: 0 / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3187, allocations: 0 / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.3189, allocations: 172.6 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.319, allocations: 11.95 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.319, allocations: 4.031 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.3191, allocations: 7.984 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.3191, allocations: 0 / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3191, allocations: 0 / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.3192, allocations: 107.2 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3192, allocations: 0 / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.3194, allocations: 8 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001041/0.3195, allocations: 95.25 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.3197, allocations: 31.92 kB / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3197, allocations: 4 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.3198, allocations: 7.984 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3201, allocations: 22.94 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.3205, allocations: 162.6 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3209, allocations: 0.6885 MB / 437.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.3209, allocations: 0 / 437.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.321, allocations: 11.44 kB / 437.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.321, allocations: 0 / 437.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of Templates: time 0.003263/0.3242, allocations: 0.5055 MB / 437.6 MB, free: 0.582 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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: 5.152613751124591]