Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001958/0.001958, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002769/0.002769, allocations: 213.9 kB / 22.99 MB, free: 5.609 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.62/1.62, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4194, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003056/0.4224, allocations: 1.605 MB / 431.4 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4235, allocations: 0.5766 MB / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.4235, allocations: 0 / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/0.4236, allocations: 15.81 kB / 432 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.4237, allocations: 7.938 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.4241, allocations: 63.73 kB / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.4242, allocations: 51.84 kB / 432.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.4243, allocations: 12.19 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.4244, allocations: 31.84 kB / 432.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.4244, allocations: 19.92 kB / 432.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.4244, allocations: 0 / 432.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.4245, allocations: 8 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.4245, allocations: 15.92 kB / 432.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.4246, allocations: 35.67 kB / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4247, allocations: 55.47 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4247, allocations: 0 / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4247, allocations: 4 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4247, allocations: 0 / 432.3 MB, free: 5.035 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005131/0.4253, allocations: 392.5 kB / 432.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4253, allocations: 12.03 kB / 432.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4255, allocations: 16.88 kB / 432.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4257, allocations: 204.7 kB / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4257, allocations: 384 / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4257, allocations: 7.938 kB / 432.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.426, allocations: 125.8 kB / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.426, allocations: 0 / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.426, allocations: 0 / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4261, allocations: 0 / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.4261, allocations: 27.97 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.4265, allocations: 278.5 kB / 433.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4266, allocations: 71.78 kB / 433.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.4267, allocations: 30.64 kB / 433.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.4267, allocations: 0 / 433.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.4267, allocations: 34.55 kB / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.4267, allocations: 0 / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002658/0.427, allocations: 89.69 kB / 433.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.4271, allocations: 110.8 kB / 433.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4272, allocations: 153.1 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4272, allocations: 25.7 kB / 433.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.4273, allocations: 92.12 kB / 433.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.4273, allocations: 4 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.4274, allocations: 33.78 kB / 434 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4275, allocations: 310.8 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.4275, allocations: 11.98 kB / 434.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.4276, allocations: 31.42 kB / 434.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.4277, allocations: 55.36 kB / 434.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4277, allocations: 0 / 434.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.4278, allocations: 69.55 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4278, allocations: 6.812 kB / 434.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4278, allocations: 4 kB / 434.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4278, allocations: 4.125 kB / 434.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.4279, allocations: 15.98 kB / 434.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4279, allocations: 0 / 434.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.428, allocations: 11.89 kB / 434.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.428, allocations: 4 kB / 434.5 MB, free: 2.551 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: 0 () * 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.0001401/0.4281, allocations: 121.8 kB / 434.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.4282, allocations: 49.59 kB / 434.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.4282, allocations: 11.86 kB / 434.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4283, allocations: 4.062 kB / 434.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4283, allocations: 0 / 434.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4283, allocations: 7.938 kB / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4284, allocations: 169.7 kB / 434.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4284, allocations: 4 kB / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.4285, allocations: 15.92 kB / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4285, allocations: 0 / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4285, allocations: 0 / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4285, allocations: 0 / 434.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4285, allocations: 7.938 kB / 434.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.4287, allocations: 177.1 kB / 435 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.4288, allocations: 93.05 kB / 435.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4288, allocations: 4 kB / 435.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4289, allocations: 3.984 kB / 435.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.429, allocations: 3.938 kB / 435.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.429, allocations: 12 kB / 435.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.429, allocations: 114.2 kB / 435.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.429, allocations: 0 / 435.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.4293, allocations: 7.938 kB / 435.3 MB, free: 1.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001279/0.4294, allocations: 103.1 kB / 435.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.4295, allocations: 31.98 kB / 435.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4296, allocations: 4.25 kB / 435.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.4296, allocations: 11.92 kB / 435.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4299, allocations: 20.02 kB / 435.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.4303, allocations: 196.2 kB / 435.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4306, allocations: 0.6926 MB / 436.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.4307, allocations: 7.984 kB / 436.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.4307, allocations: 11.44 kB / 436.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4307, allocations: 0 / 436.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of Templates: time 0.003089/0.4338, allocations: 0.6162 MB / 437 MB, free: 15.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.221486943773925]