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.001946/0.001946, allocations: 91.61 kB / 20.97 MB, free: 3.438 MB / 18.57 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.002044/0.002044, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 18.57 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: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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 5.41e-06/5.41e-06, allocations: 4 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.486e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003203/0.003237, allocations: 1.611 MB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.004452, allocations: 0.5491 MB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.954e-05/0.004541, allocations: 7.938 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.004606, allocations: 3.938 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.004737, allocations: 11.88 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.005074, allocations: 71.67 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.005196, allocations: 47.78 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.005291, allocations: 12.19 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.005454, allocations: 39.83 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.005515, allocations: 11.98 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.005532, allocations: 0 / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.005577, allocations: 12 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.005635, allocations: 19.91 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.005661, allocations: 11.94 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.005827, allocations: 63.73 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005831, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005832, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005836, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 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.0006524/0.006488, allocations: 411.9 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.00653, allocations: 15.97 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.006678, allocations: 16.89 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.006915, allocations: 160.9 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.006928, allocations: 4.375 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.006939, allocations: 4.375 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.007239, allocations: 132.3 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.007248, allocations: 0 / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.007259, allocations: 4 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.007262, allocations: 0 / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.007353, allocations: 23.92 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.007725, allocations: 279.2 kB / 275.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.007886, allocations: 101.2 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.007956, allocations: 35.12 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.00798, allocations: 4 kB / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.008017, allocations: 37.33 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.008018, allocations: 4 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002823/0.0083, allocations: 89.84 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.00839, allocations: 106.8 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.008578, allocations: 213.3 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.008596, allocations: 29.64 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.008691, allocations: 138.9 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.008702, allocations: 0 / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.008743, allocations: 19.38 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.009003, allocations: 0.4922 MB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.009034, allocations: 4 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.009061, allocations: 8 kB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.91e-05/0.00912, allocations: 23.77 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009121, allocations: 3.938 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001165/0.009238, allocations: 49.64 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.009253, allocations: 4 kB / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.009257, allocations: 0 / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.009267, allocations: 0 / 277.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.00932, allocations: 7.938 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.009324, allocations: 0 / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.00935, allocations: 0 / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.009357, allocations: 12.02 kB / 277.1 MB, free: 12.65 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 0.0001169/0.009474, allocations: 160.5 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.009564, allocations: 49.66 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.009599, allocations: 19.89 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009601, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.009603, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.009606, allocations: 4 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.00979, allocations: 136.5 kB / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009791, allocations: 0 / 277.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.009854, allocations: 20.05 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.009856, allocations: 0 / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.009866, allocations: 4 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009867, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009868, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.01012, allocations: 239.1 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.01017, allocations: 19.89 kB / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01019, allocations: 8 kB / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.01025, allocations: 0 / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.01028, allocations: 0 / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01028, allocations: 8 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01039, allocations: 151.2 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01039, allocations: 0 / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.0106, allocations: 4 kB / 277.9 MB, free: 11.77 MB / 266.7 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.0001181/0.01072, allocations: 99.25 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.01085, allocations: 31.61 kB / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01085, allocations: 0 / 278 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.01089, allocations: 11.69 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01125, allocations: 32.92 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.01165, allocations: 196.3 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.006e-05/0.01174, allocations: 75.33 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.868e-05/0.01177, allocations: 3.984 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.0118, allocations: 12.5 kB / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0118, allocations: 0 / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003353/0.01515, allocations: 0.6403 MB / 279 MB, free: 10.61 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] 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: 4.698582867975347]