Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.00138/0.00138, allocations: 89.22 kB / 20.68 MB, free: 1.02 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.001619/0.001619, allocations: 159.1 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.993e-05, allocations: 3.406 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002357/0.002377, allocations: 1.509 MB / 326.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.002764, allocations: 139.7 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.002832, allocations: 9.125 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.002878, allocations: 2 kB / 326.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.002999, allocations: 14.03 kB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003211, allocations: 35.5 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.564e-05/0.003296, allocations: 27.11 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.003382, allocations: 9.969 kB / 326.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.003437, allocations: 17.45 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.003474, allocations: 4.391 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.003492, allocations: 2.125 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003503, allocations: 3.062 kB / 326.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.003548, allocations: 12.47 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.003575, allocations: 16.09 kB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003683, allocations: 42.45 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003686, allocations: 1.125 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.003687, allocations: 1.172 kB / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.003691, allocations: 0 / 326.9 MB, free: 15.28 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004531/0.004144, allocations: 284 kB / 327.1 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.004182, allocations: 13.52 kB / 327.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.004216, allocations: 7.234 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.004435, allocations: 137.3 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004446, allocations: 6.625 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.004457, allocations: 5.547 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.004685, allocations: 91.08 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.004693, allocations: 3.125 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.0047, allocations: 384 / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004705, allocations: 1.031 kB / 327.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.004781, allocations: 21.27 kB / 327.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.005068, allocations: 209.5 kB / 327.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.005164, allocations: 46.94 kB / 327.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.005215, allocations: 16.73 kB / 327.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.005237, allocations: 5.578 kB / 327.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.005276, allocations: 33.5 kB / 327.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.005277, allocations: 0 / 327.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.005506, allocations: 63.62 kB / 327.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.005587, allocations: 80.44 kB / 327.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.005726, allocations: 139.1 kB / 328 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.005744, allocations: 26.8 kB / 328 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.005802, allocations: 95.02 kB / 328.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.251e-06/0.005808, allocations: 0 / 328.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.005842, allocations: 14.33 kB / 328.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.005997, allocations: 318.3 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.006035, allocations: 4.594 kB / 328.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.006064, allocations: 10.27 kB / 328.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.00613, allocations: 21.42 kB / 328.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006131, allocations: 0 / 328.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.006237, allocations: 49.16 kB / 328.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006249, allocations: 6.484 kB / 328.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006255, allocations: 3.938 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.006269, allocations: 0.6094 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.00632, allocations: 2.891 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006325, allocations: 1.922 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.006349, allocations: 2.172 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.006354, allocations: 4.031 kB / 328.5 MB, free: 13.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.828e-05/0.006442, allocations: 117.1 kB / 328.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.006506, allocations: 37.34 kB / 328.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.006539, allocations: 20.34 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006541, allocations: 1.094 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.006545, allocations: 0 / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006548, allocations: 1.734 kB / 328.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.006697, allocations: 114.4 kB / 328.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006698, allocations: 0.6562 kB / 328.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.006736, allocations: 10.33 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006738, allocations: 4.031 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006744, allocations: 0.9375 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.006748, allocations: 5.797 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.00675, allocations: 1.438 kB / 328.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.006924, allocations: 151.4 kB / 329 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.006963, allocations: 19.97 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.006975, allocations: 1.219 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.007038, allocations: 7.828 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.007066, allocations: 2 kB / 329 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.007076, allocations: 13.31 kB / 329 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.448e-05/0.007151, allocations: 103.7 kB / 329.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007151, allocations: 0 / 329.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.007423, allocations: 3.25 kB / 329.1 MB, free: 13.08 MB / 302.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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001069/0.00753, allocations: 94.56 kB / 329.2 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.007665, allocations: 22.89 kB / 329.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007666, allocations: 0 / 329.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.007706, allocations: 11.61 kB / 329.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.008016, allocations: 20.09 kB / 329.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.008301, allocations: 148.3 kB / 329.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.008379, allocations: 72.03 kB / 329.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.008396, allocations: 2.172 kB / 329.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.008421, allocations: 9.781 kB / 329.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.008421, allocations: 0 / 329.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002847/0.01127, allocations: 479.1 kB / 330 MB, free: 12.68 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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: 4.3145001865923405]