Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00188/0.00188, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00238/0.00238, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.885/1.885, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 51.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5169, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004373/0.5212, allocations: 1.59 MB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.5227, allocations: 0.5025 MB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.5228, allocations: 0 / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.562e-05/0.5229, allocations: 11.88 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.523, allocations: 7.922 kB / 434.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.5234, allocations: 55.81 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.5236, allocations: 51.78 kB / 434.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.5237, allocations: 8 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.5239, allocations: 31.92 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.524, allocations: 23.84 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.524, allocations: 4 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.844e-05/0.524, allocations: 4 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.5241, allocations: 19.92 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.5241, allocations: 15.88 kB / 434.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.5243, allocations: 66.28 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5243, allocations: 0 / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5243, allocations: 4 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.5244, allocations: 0 / 434.7 MB, free: 4.344 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.0005749/0.5249, allocations: 302 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.525, allocations: 12.03 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.5252, allocations: 16.88 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.5255, allocations: 140.9 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.5255, allocations: 8.375 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.5255, allocations: 384 / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.5259, allocations: 125.3 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5259, allocations: 3.984 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5259, allocations: 0 / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5259, allocations: 0 / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.526, allocations: 19.98 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.5264, allocations: 209.4 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.5266, allocations: 73.12 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.5266, allocations: 21.78 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5267, allocations: 7.922 kB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5267, allocations: 38.5 kB / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5267, allocations: 0 / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002794/0.527, allocations: 77.56 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.5271, allocations: 85.11 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5272, allocations: 138.1 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5272, allocations: 29.83 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.5273, allocations: 96.02 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.5274, allocations: 3.953 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.5274, allocations: 21.7 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5276, allocations: 318.8 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.5276, allocations: 7.984 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.5277, allocations: 31.44 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.5278, allocations: 51.36 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5278, allocations: 0 / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001548/0.5279, allocations: 77.5 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.528, allocations: 4 kB / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.528, allocations: 0 / 436.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.528, allocations: 7.938 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.5281, allocations: 11.98 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5281, allocations: 4.125 kB / 436.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.5281, allocations: 4 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5281, allocations: 0 / 436.6 MB, free: 2.207 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.0001242/0.5282, allocations: 125.8 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.727e-05/0.5283, allocations: 45.66 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.5284, allocations: 16.33 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5284, allocations: 7.938 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5284, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5284, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.5286, allocations: 109.3 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5286, allocations: 11.94 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.5286, allocations: 7.984 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5286, allocations: 4 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5286, allocations: 336 / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5286, allocations: 0 / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5286, allocations: 0 / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.5289, allocations: 172.3 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.5289, allocations: 23.88 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5289, allocations: 0 / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.529, allocations: 7.938 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.529, allocations: 4 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.529, allocations: 3.984 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.545e-05/0.5291, allocations: 114 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5291, allocations: 3.938 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.5293, allocations: 4 kB / 437.3 MB, free: 1.488 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: 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.0001303/0.5295, allocations: 99.25 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.5296, allocations: 31.91 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5296, allocations: 4.25 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.5297, allocations: 8 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.53, allocations: 23.95 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.5305, allocations: 171.6 kB / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.5306, allocations: 75.33 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.5306, allocations: 3.984 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.5307, allocations: 11.44 kB / 437.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5307, allocations: 4.062 kB / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of Templates: time 0.003916/0.5346, allocations: 0.5996 MB / 438.3 MB, free: 428 kB / 334.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.444189914007438]