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.0009548/0.0009547, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.441/1.441, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007299/0.0007299, allocations: 90.36 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001704/0.3011, allocations: 1.195 MB / 376.3 MB, free: 44.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3029, allocations: 0.8538 MB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.303, allocations: 0 / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.732e-05/0.3031, allocations: 5.922 kB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.3032, allocations: 10.97 kB / 377.2 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3035, allocations: 39.06 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3037, allocations: 101.5 kB / 377.3 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3039, allocations: 24.62 kB / 377.3 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.3047, allocations: 492 kB / 377.8 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3049, allocations: 82.42 kB / 377.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.305, allocations: 2.469 kB / 377.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.305, allocations: 4.188 kB / 377.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.3051, allocations: 60.92 kB / 377.9 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3053, allocations: 128.6 kB / 378.1 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3055, allocations: 289.2 kB / 378.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3055, allocations: 4 kB / 378.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3056, allocations: 0 / 378.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3056, allocations: 0 / 378.4 MB, free: 43.12 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.0006127/0.3062, allocations: 0.6567 MB / 379 MB, free: 42.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3062, allocations: 9.875 kB / 379 MB, free: 42.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.3063, allocations: 34.62 kB / 379.1 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.3066, allocations: 281.9 kB / 379.3 MB, free: 42.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3066, allocations: 9.5 kB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3067, allocations: 11.34 kB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.307, allocations: 134.1 kB / 379.5 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3071, allocations: 0 / 379.5 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.3071, allocations: 3.938 kB / 379.5 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3071, allocations: 1.312 kB / 379.5 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3073, allocations: 61.38 kB / 379.5 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.3079, allocations: 459.7 kB / 380 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3081, allocations: 100.6 kB / 380.1 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3083, allocations: 80.36 kB / 380.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3083, allocations: 1.25 kB / 380.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.3087, allocations: 210.2 kB / 380.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.3087, allocations: 0 / 380.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008403/0.3095, allocations: 483.8 kB / 380.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.3096, allocations: 169.2 kB / 381 MB, free: 40.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.3103, allocations: 0.5211 MB / 381.5 MB, free: 40.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.3103, allocations: 28.55 kB / 381.6 MB, free: 40.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.3104, allocations: 102.1 kB / 381.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.3104, allocations: 30.2 kB / 381.7 MB, free: 40.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.3104, allocations: 3.375 kB / 381.7 MB, free: 40.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.3105, allocations: 325.4 kB / 382 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3107, allocations: 55.66 kB / 382.1 MB, free: 40 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3108, allocations: 83.17 kB / 382.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3111, allocations: 345.6 kB / 382.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3111, allocations: 0 / 382.5 MB, free: 39.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005648/0.3117, allocations: 383 kB / 382.9 MB, free: 39.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.3118, allocations: 121.7 kB / 383 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3118, allocations: 0 / 383 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3118, allocations: 1.125 kB / 383 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.3119, allocations: 8.938 kB / 383 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3119, allocations: 1 kB / 383 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3121, allocations: 18.83 kB / 383 MB, free: 39.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.3122, allocations: 56.97 kB / 383.1 MB, free: 39.23 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.0003098/0.3125, allocations: 362.1 kB / 383.4 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.3126, allocations: 39.86 kB / 383.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3127, allocations: 71.3 kB / 383.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3127, allocations: 5.047 kB / 383.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3127, allocations: 4 kB / 383.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3127, allocations: 0 / 383.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009193/0.3136, allocations: 0.823 MB / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3136, allocations: 0 / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.3136, allocations: 5.375 kB / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3137, allocations: 192 / 384.4 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3137, allocations: 19 kB / 384.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3137, allocations: 0 / 384.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3137, allocations: 9.109 kB / 384.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.3143, allocations: 0.5239 MB / 384.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.3146, allocations: 245.8 kB / 385.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.3147, allocations: 15.48 kB / 385.2 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3148, allocations: 9.156 kB / 385.2 MB, free: 37.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.315, allocations: 27.88 kB / 385.2 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.3151, allocations: 63.8 kB / 385.3 MB, free: 37.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005858/0.3156, allocations: 390.6 kB / 385.7 MB, free: 37.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 4 kB / 385.7 MB, free: 37.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.316, allocations: 42.09 kB / 385.7 MB, free: 37.28 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.0002117/0.3162, allocations: 114.3 kB / 385.8 MB, free: 37.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.3168, allocations: 441.5 kB / 386.2 MB, free: 36.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3168, allocations: 0 / 386.2 MB, free: 36.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.3171, allocations: 379 kB / 386.6 MB, free: 36.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.3178, allocations: 116.4 kB / 386.7 MB, free: 36.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3189, allocations: 0.7722 MB / 387.5 MB, free: 35.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3192, allocations: 0.8062 MB / 388.3 MB, free: 34.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.3192, allocations: 11.44 kB / 388.3 MB, free: 34.74 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3192, allocations: 0 / 388.3 MB, free: 34.74 MB / 298.7 MB Notification: Performance of Templates: time 0.003704/0.323, allocations: 2.664 MB / 391 MB, free: 32.02 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