Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009383, allocations: 108 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007568/0.000757, allocations: 43.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2309, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003121/0.2341, allocations: 1.599 MB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.2345, allocations: 139.5 kB / 401.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.2346, allocations: 4 kB / 401.2 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.855e-05/0.2347, allocations: 3.938 kB / 401.2 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2348, allocations: 3.938 kB / 401.2 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2351, allocations: 33.97 kB / 401.3 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.2352, allocations: 31.86 kB / 401.3 MB, free: 31.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2354, allocations: 19.98 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.2354, allocations: 11.94 kB / 401.3 MB, free: 31.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.2355, allocations: 19.91 kB / 401.3 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.2355, allocations: 4 kB / 401.3 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.2355, allocations: 3.938 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.2356, allocations: 11.94 kB / 401.4 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.2356, allocations: 23.8 kB / 401.4 MB, free: 31.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2357, allocations: 47.81 kB / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2358, allocations: 3.938 kB / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2358, allocations: 0 / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2358, allocations: 0 / 401.4 MB, free: 31.42 MB / 298.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.000459/0.2363, allocations: 368.8 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2363, allocations: 8.031 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.2364, allocations: 8.844 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2365, allocations: 189 kB / 402 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2366, allocations: 4.375 kB / 402 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2366, allocations: 384 / 402 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.2369, allocations: 121.5 kB / 402.1 MB, free: 30.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2369, allocations: 192 / 402.1 MB, free: 30.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2369, allocations: 3.938 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2369, allocations: 0 / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.237, allocations: 23.97 kB / 402.1 MB, free: 30.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2374, allocations: 269.7 kB / 402.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2376, allocations: 134.2 kB / 402.5 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.2377, allocations: 29.77 kB / 402.6 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2377, allocations: 4 kB / 402.6 MB, free: 30.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2377, allocations: 38.5 kB / 402.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2377, allocations: 3.938 kB / 402.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.238, allocations: 77.52 kB / 402.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.2381, allocations: 77.11 kB / 402.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2382, allocations: 136.9 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.2382, allocations: 25.7 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.2383, allocations: 92.25 kB / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.2383, allocations: 0 / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2383, allocations: 21.72 kB / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2384, allocations: 310.8 kB / 403.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.2385, allocations: 11.98 kB / 403.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.2385, allocations: 31.42 kB / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2386, allocations: 51.36 kB / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2387, allocations: 0 / 403.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000159/0.2388, allocations: 81.5 kB / 403.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2389, allocations: 4 kB / 403.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2389, allocations: 0 / 403.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2389, allocations: 4 kB / 403.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.239, allocations: 15.92 kB / 403.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.239, allocations: 0 / 403.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.239, allocations: 4 kB / 403.5 MB, free: 29.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2391, allocations: 0 / 403.5 MB, free: 29.01 MB / 298.7 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 6.501e-05/0.2391, allocations: 125.7 kB / 403.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2392, allocations: 53.58 kB / 403.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.2393, allocations: 16.23 kB / 403.7 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2393, allocations: 0 / 403.7 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2393, allocations: 0 / 403.7 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2393, allocations: 4 kB / 403.7 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2395, allocations: 173.5 kB / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2395, allocations: 0 / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.2396, allocations: 8 kB / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2396, allocations: 0 / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2396, allocations: 0 / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2396, allocations: 0 / 403.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2396, allocations: 8 kB / 403.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.24, allocations: 0.729 MB / 404.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.2401, allocations: 89.05 kB / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2401, allocations: 7.922 kB / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.2402, allocations: 12 kB / 404.7 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.2403, allocations: 0 / 404.7 MB, free: 27.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.2403, allocations: 3.938 kB / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.632e-05/0.2404, allocations: 107.2 kB / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2404, allocations: 0 / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.2409, allocations: 4 kB / 404.9 MB, free: 27.53 MB / 298.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 9.158e-05/0.241, allocations: 99.19 kB / 405 MB, free: 27.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.2412, allocations: 31.98 kB / 405 MB, free: 27.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2412, allocations: 0 / 405 MB, free: 27.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.2413, allocations: 11.92 kB / 405 MB, free: 27.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.2418, allocations: 19.97 kB / 405 MB, free: 27.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.2422, allocations: 283.3 kB / 405.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2424, allocations: 0.6926 MB / 406 MB, free: 26.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2424, allocations: 0 / 406 MB, free: 26.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.2425, allocations: 11.44 kB / 406 MB, free: 26.31 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2425, allocations: 0 / 406 MB, free: 26.31 MB / 298.7 MB Notification: Performance of Templates: time 0.002855/0.2453, allocations: 476 kB / 406.5 MB, free: 25.86 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches