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.001401/0.001401, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001608/0.001608, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.8995/0.8995, allocations: 177.2 MB / 206.1 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.833e-05, allocations: 10.2 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002941/0.002969, allocations: 1.613 MB / 275.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004054, allocations: 0.52 MB / 276.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.00414, allocations: 4 kB / 276.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.342e-05/0.004193, allocations: 8.672 kB / 276.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.004326, allocations: 9.594 kB / 276.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.004607, allocations: 55.75 kB / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.004714, allocations: 47.78 kB / 276.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.0048, allocations: 11.98 kB / 276.5 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.004925, allocations: 33.86 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.004978, allocations: 15.91 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.004995, allocations: 4 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.005035, allocations: 8 kB / 276.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.005078, allocations: 15.92 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.005103, allocations: 15.94 kB / 276.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.005224, allocations: 51.75 kB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005226, allocations: 0 / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005227, allocations: 0 / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.005231, allocations: 0 / 276.6 MB, free: 1.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003913/0.005622, allocations: 404.3 kB / 277 MB, free: 1.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.005654, allocations: 8.031 kB / 277 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.005783, allocations: 24.83 kB / 277 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.005948, allocations: 144.5 kB / 277.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.005957, allocations: 4.375 kB / 277.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.005968, allocations: 12.31 kB / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.006163, allocations: 121.6 kB / 277.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006171, allocations: 192 / 277.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.006177, allocations: 384 / 277.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006184, allocations: 3.938 kB / 277.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.006205, allocations: 7.984 kB / 277.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.006422, allocations: 252 kB / 277.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.006546, allocations: 70.16 kB / 277.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.006587, allocations: 27.36 kB / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.006599, allocations: 3.938 kB / 277.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.006625, allocations: 41.39 kB / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.006626, allocations: 0 / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001503/0.006776, allocations: 57.52 kB / 277.8 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.006822, allocations: 85.11 kB / 277.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.006931, allocations: 193.1 kB / 278 MB, free: 352 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006943, allocations: 33.83 kB / 278.1 MB, free: 312 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.006997, allocations: 138.8 kB / 278.2 MB, free: 168 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.007012, allocations: 3.953 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.007049, allocations: 19.38 kB / 278.2 MB, free: 136 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.007189, allocations: 0.4884 MB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.007198, allocations: 0 / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-06/0.007205, allocations: 0 / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.00723, allocations: 15.62 kB / 278.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007232, allocations: 0 / 278.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.171e-05/0.007293, allocations: 41.72 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007307, allocations: 4 kB / 278.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.007315, allocations: 7.922 kB / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.007324, allocations: 0 / 278.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.007376, allocations: 11.98 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.007378, allocations: 0 / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.0074, allocations: 0 / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007405, allocations: 0 / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 7.32e-05/0.007478, allocations: 160.6 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.00754, allocations: 53.58 kB / 279 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.00757, allocations: 16.31 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.007573, allocations: 4 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.007575, allocations: 0 / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007578, allocations: 240 / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.007711, allocations: 101.2 kB / 279.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007712, allocations: 0 / 279.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.007754, allocations: 15.97 kB / 279.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007756, allocations: 0 / 279.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.00776, allocations: 0 / 279.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007762, allocations: 0 / 279.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.007766, allocations: 7.938 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.007876, allocations: 215.5 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.007909, allocations: 11.95 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.007921, allocations: 3.984 kB / 279.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.007978, allocations: 4 kB / 279.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.008002, allocations: 7.938 kB / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.008006, allocations: 0 / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.214e-05/0.008068, allocations: 139.2 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008068, allocations: 0 / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.008318, allocations: 4 kB / 279.5 MB, free: 14.74 MB / 266.7 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.0003206/0.008638, allocations: 103.3 kB / 279.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.008705, allocations: 15.69 kB / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008706, allocations: 3.938 kB / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.008722, allocations: 11.69 kB / 279.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.009041, allocations: 20.86 kB / 279.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.009491, allocations: 172.8 kB / 279.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.009536, allocations: 67.14 kB / 279.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.009563, allocations: 8.125 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.009621, allocations: 74.19 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009621, allocations: 0 / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002595/0.01222, allocations: 0.6017 MB / 280.6 MB, free: 13.61 MB / 266.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6036433279514313]