Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001116, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 189.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 52.3 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.08153, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002566/0.08413, allocations: 1.501 MB / 377.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.08597, allocations: 0.9027 MB / 378.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.08606, allocations: 0 / 378.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.735e-05/0.08617, allocations: 11.86 kB / 378.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.08625, allocations: 11.88 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.08651, allocations: 47.88 kB / 378.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.08672, allocations: 143.7 kB / 378.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.08684, allocations: 28.22 kB / 378.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.08741, allocations: 0.5654 MB / 379 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.08757, allocations: 75.64 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.08763, allocations: 8 kB / 379.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.08767, allocations: 12 kB / 379.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.08776, allocations: 63.75 kB / 379.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.08788, allocations: 115.1 kB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.08822, allocations: 370.8 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.08823, allocations: 0 / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08824, allocations: 7.938 kB / 379.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.08826, allocations: 0 / 379.7 MB, free: 0.7031 MB / 318.1 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.1541/0.2423, allocations: 0.7179 MB / 380.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2424, allocations: 9.188 kB / 380.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.2425, allocations: 35.12 kB / 380.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.2427, allocations: 268.9 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2427, allocations: 10.34 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2428, allocations: 8.578 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.2431, allocations: 131.4 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2431, allocations: 2.375 kB / 380.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.2431, allocations: 7.969 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2431, allocations: 2.188 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2433, allocations: 59.06 kB / 380.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.2439, allocations: 465.3 kB / 381.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2441, allocations: 99.53 kB / 381.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.2442, allocations: 91.97 kB / 381.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.2442, allocations: 1.375 kB / 381.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.2446, allocations: 204.6 kB / 381.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2446, allocations: 1.375 kB / 381.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007132/0.2453, allocations: 481.2 kB / 382.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.2454, allocations: 168.4 kB / 382.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.246, allocations: 0.5131 MB / 382.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.246, allocations: 30.2 kB / 382.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.2461, allocations: 101.5 kB / 383 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.2461, allocations: 27.91 kB / 383 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.2463, allocations: 84.02 kB / 383.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.2463, allocations: 328.4 kB / 383.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2465, allocations: 58.14 kB / 383.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2466, allocations: 72.42 kB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2469, allocations: 350.2 kB / 383.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2469, allocations: 0 / 383.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004647/0.2474, allocations: 386.1 kB / 384.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/0.2475, allocations: 132.6 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2475, allocations: 0.5156 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2475, allocations: 1.406 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.2475, allocations: 4.719 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2475, allocations: 0 / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2477, allocations: 11.84 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.2477, allocations: 57.67 kB / 384.5 MB, free: 10.66 MB / 318.1 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.248, allocations: 367.8 kB / 384.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.248, allocations: 42.53 kB / 384.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.2481, allocations: 65.83 kB / 385 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2481, allocations: 4.969 kB / 385 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2481, allocations: 0.875 kB / 385 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2482, allocations: 0.6562 kB / 385 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008028/0.249, allocations: 0.8262 MB / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.249, allocations: 0.9844 kB / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.249, allocations: 3.812 kB / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.249, allocations: 0 / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.249, allocations: 13.39 kB / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.249, allocations: 0 / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.249, allocations: 5.188 kB / 385.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.2496, allocations: 0.5343 MB / 386.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.2498, allocations: 246.2 kB / 386.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.2499, allocations: 12.08 kB / 386.6 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.25, allocations: 10.14 kB / 386.6 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2501, allocations: 25.78 kB / 386.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.2502, allocations: 62.42 kB / 386.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004029/0.2506, allocations: 390.8 kB / 387.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2506, allocations: 0 / 387.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.2509, allocations: 45.94 kB / 387.1 MB, free: 8.969 MB / 318.1 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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 (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.0001194/0.2511, allocations: 115 kB / 387.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.2515, allocations: 436.8 kB / 387.7 MB, free: 8.535 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2515, allocations: 1.5 kB / 387.7 MB, free: 8.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.2518, allocations: 385.9 kB / 388 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.2524, allocations: 126.4 kB / 388.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.2534, allocations: 0.6994 MB / 388.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2537, allocations: 0.8068 MB / 389.7 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.2537, allocations: 11.72 kB / 389.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2537, allocations: 0 / 389.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of Templates: time 0.004754/0.2585, allocations: 2.691 MB / 392.4 MB, free: 6.637 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches