Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009656/0.0009657, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.6 MB / 244.4 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007456/0.0007456, allocations: 100.5 kB / 296.4 MB, free: 7.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002089, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.211, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001374/0.2125, allocations: 1.209 MB / 408.7 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.214, allocations: 0.8349 MB / 409.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.2141, allocations: 4 kB / 409.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.833e-05/0.2141, allocations: 7.922 kB / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.2142, allocations: 12.55 kB / 409.6 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.2144, allocations: 32.8 kB / 409.6 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.2145, allocations: 99.7 kB / 409.7 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.2146, allocations: 25.94 kB / 409.7 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.215, allocations: 495.1 kB / 410.2 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.2151, allocations: 80.78 kB / 410.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.2152, allocations: 4 kB / 410.3 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.759e-05/0.2152, allocations: 4 kB / 410.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.2153, allocations: 65.17 kB / 410.3 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2153, allocations: 73.52 kB / 410.4 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2155, allocations: 291.3 kB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2155, allocations: 0 / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2155, allocations: 0.75 kB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2155, allocations: 0 / 410.7 MB, free: 24.61 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.0005083/0.216, allocations: 0.6548 MB / 411.4 MB, free: 23.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2161, allocations: 11.97 kB / 411.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2162, allocations: 36.47 kB / 411.4 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2164, allocations: 261.3 kB / 411.7 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2164, allocations: 11.33 kB / 411.7 MB, free: 23.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2164, allocations: 12 kB / 411.7 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2167, allocations: 125.6 kB / 411.8 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2167, allocations: 0 / 411.8 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2168, allocations: 7.984 kB / 411.8 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2168, allocations: 0 / 411.8 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2169, allocations: 63.94 kB / 411.9 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.2174, allocations: 472.3 kB / 412.3 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2175, allocations: 94.55 kB / 412.4 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.2177, allocations: 84.98 kB / 412.5 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2177, allocations: 3.938 kB / 412.5 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.2179, allocations: 208.1 kB / 412.7 MB, free: 22.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2179, allocations: 0 / 412.7 MB, free: 22.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005997/0.2185, allocations: 475.9 kB / 413.2 MB, free: 21.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2186, allocations: 170.2 kB / 413.4 MB, free: 21.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.219, allocations: 0.513 MB / 413.9 MB, free: 21.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2191, allocations: 29.7 kB / 413.9 MB, free: 21.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.2191, allocations: 105 kB / 414 MB, free: 21.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.2191, allocations: 31.69 kB / 414 MB, free: 21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.2192, allocations: 4 kB / 414 MB, free: 21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2192, allocations: 322.8 kB / 414.3 MB, free: 20.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2193, allocations: 59.97 kB / 414.4 MB, free: 20.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2195, allocations: 73.69 kB / 414.5 MB, free: 20.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.2196, allocations: 167.8 kB / 414.6 MB, free: 20.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2196, allocations: 0 / 414.6 MB, free: 20.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004027/0.22, allocations: 388.4 kB / 415 MB, free: 19.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.22, allocations: 122.8 kB / 415.1 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2201, allocations: 4 kB / 415.1 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2201, allocations: 3.984 kB / 415.1 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.798e-05/0.2201, allocations: 4.031 kB / 415.2 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2201, allocations: 0 / 415.2 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2203, allocations: 15.94 kB / 415.2 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.2203, allocations: 59.92 kB / 415.2 MB, free: 19.71 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.0002278/0.2206, allocations: 374.8 kB / 415.6 MB, free: 19.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2206, allocations: 39.53 kB / 415.6 MB, free: 19.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.2207, allocations: 67.14 kB / 415.7 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2207, allocations: 0 / 415.7 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2207, allocations: 4 kB / 415.7 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2207, allocations: 0 / 415.7 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.2214, allocations: 0.8207 MB / 416.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2214, allocations: 0 / 416.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-06/0.2214, allocations: 0 / 416.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2214, allocations: 0 / 416.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2214, allocations: 19.98 kB / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2214, allocations: 0 / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2214, allocations: 3.938 kB / 416.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.2219, allocations: 0.5484 MB / 417.1 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.2221, allocations: 244.5 kB / 417.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.2222, allocations: 12 kB / 417.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2223, allocations: 11.98 kB / 417.4 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.2224, allocations: 27.97 kB / 417.4 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.2225, allocations: 52 kB / 417.4 MB, free: 17.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.2228, allocations: 382.9 kB / 417.8 MB, free: 16.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2228, allocations: 4 kB / 417.8 MB, free: 16.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.223, allocations: 44 kB / 417.9 MB, free: 16.9 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.0001108/0.2231, allocations: 114 kB / 418 MB, free: 16.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.2235, allocations: 445.5 kB / 418.4 MB, free: 16.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2235, allocations: 0 / 418.4 MB, free: 16.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.2238, allocations: 373.6 kB / 418.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.2243, allocations: 117 kB / 418.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.2251, allocations: 0.7717 MB / 419.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2254, allocations: 0.8141 MB / 420.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.2254, allocations: 7.438 kB / 420.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2254, allocations: 0 / 420.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Templates: time 0.003118/0.2285, allocations: 2.656 MB / 423.1 MB, free: 11.41 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches