Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008616/0.0008615, allocations: 86.31 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001538/0.2391, allocations: 1.191 MB / 375.7 MB, free: 44.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2408, allocations: 0.8559 MB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.2408, allocations: 1 kB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.75e-05/0.2409, allocations: 8.984 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.241, allocations: 11.27 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2412, allocations: 39.7 kB / 376.7 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2414, allocations: 100.5 kB / 376.8 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.2415, allocations: 16.39 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000614/0.2421, allocations: 492.7 kB / 377.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2423, allocations: 78.25 kB / 377.3 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2423, allocations: 4.062 kB / 377.3 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.2424, allocations: 3.156 kB / 377.3 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.2425, allocations: 64.45 kB / 377.4 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.2425, allocations: 76.36 kB / 377.5 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2428, allocations: 296.7 kB / 377.8 MB, free: 43.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2428, allocations: 0 / 377.8 MB, free: 43.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2428, allocations: 0.9375 kB / 377.8 MB, free: 43.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2428, allocations: 4 kB / 377.8 MB, free: 43.17 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006214/0.2435, allocations: 0.6568 MB / 378.4 MB, free: 42.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2435, allocations: 8.656 kB / 378.4 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.2436, allocations: 37.92 kB / 378.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2439, allocations: 258.3 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2439, allocations: 3.688 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.2439, allocations: 15.53 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2443, allocations: 129.6 kB / 378.9 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2443, allocations: 0 / 378.9 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.2443, allocations: 8 kB / 378.9 MB, free: 42.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2443, allocations: 5.109 kB / 378.9 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2445, allocations: 61.03 kB / 378.9 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.2451, allocations: 457.7 kB / 379.4 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.2453, allocations: 104.3 kB / 379.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2455, allocations: 89.08 kB / 379.6 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2455, allocations: 1.438 kB / 379.6 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.2458, allocations: 201.6 kB / 379.8 MB, free: 41.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2458, allocations: 0 / 379.8 MB, free: 41.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007775/0.2466, allocations: 484.1 kB / 380.2 MB, free: 41.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.2467, allocations: 169.1 kB / 380.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.2474, allocations: 0.5208 MB / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2474, allocations: 29.42 kB / 381 MB, free: 40.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.2475, allocations: 100.6 kB / 381.1 MB, free: 40.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.2475, allocations: 30.14 kB / 381.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.2475, allocations: 3.438 kB / 381.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.2476, allocations: 322.5 kB / 381.4 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.2477, allocations: 55.88 kB / 381.5 MB, free: 40.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2479, allocations: 74.98 kB / 381.5 MB, free: 40.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2481, allocations: 175.6 kB / 381.7 MB, free: 39.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2481, allocations: 0 / 381.7 MB, free: 39.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005002/0.2486, allocations: 377.2 kB / 382.1 MB, free: 39.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.2487, allocations: 133.7 kB / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2487, allocations: 1.406 kB / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2487, allocations: 0 / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.2487, allocations: 1.562 kB / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2487, allocations: 5.469 kB / 382.2 MB, free: 39.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2489, allocations: 17.84 kB / 382.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/0.249, allocations: 65.5 kB / 382.3 MB, free: 39.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.2493, allocations: 358.3 kB / 382.6 MB, free: 39.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.2494, allocations: 38.06 kB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2495, allocations: 68.81 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2495, allocations: 3.938 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2495, allocations: 1.156 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2495, allocations: 128 / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.2505, allocations: 0.8265 MB / 383.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2505, allocations: 0 / 383.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.2505, allocations: 1.375 kB / 383.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2505, allocations: 7.969 kB / 383.6 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.2505, allocations: 15 kB / 383.6 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2505, allocations: 1.094 kB / 383.6 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2506, allocations: 0 / 383.6 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.2512, allocations: 0.5303 MB / 384.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.2516, allocations: 254.3 kB / 384.4 MB, free: 37.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.2517, allocations: 11.53 kB / 384.4 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2518, allocations: 13.55 kB / 384.4 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.252, allocations: 27.41 kB / 384.4 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.252, allocations: 59.28 kB / 384.5 MB, free: 37.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004825/0.2525, allocations: 390.7 kB / 384.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2525, allocations: 0.9688 kB / 384.9 MB, free: 37.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000307/0.2529, allocations: 44.73 kB / 384.9 MB, free: 37.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.253, allocations: 119.3 kB / 385 MB, free: 37.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2535, allocations: 438.4 kB / 385.5 MB, free: 37.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2536, allocations: 0 / 385.5 MB, free: 37.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2538, allocations: 379.2 kB / 385.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.2545, allocations: 104 kB / 385.9 MB, free: 36.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2556, allocations: 0.7742 MB / 386.7 MB, free: 35.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2558, allocations: 0.814 MB / 387.5 MB, free: 35.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.2559, allocations: 11.44 kB / 387.5 MB, free: 35.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2559, allocations: 0 / 387.5 MB, free: 35.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003451/0.2593, allocations: 2.666 MB / 390.2 MB, free: 32.41 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches