Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.341e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004027/0.00406, allocations: 1.484 MB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.007236, allocations: 0.838 MB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.007304, allocations: 0 / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.007432, allocations: 11.86 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.007561, allocations: 23.8 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.007932, allocations: 51.88 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.008234, allocations: 135.7 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.00837, allocations: 8.234 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.009498, allocations: 0.6005 MB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.009698, allocations: 67.8 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.009755, allocations: 8 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.009801, allocations: 12 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.00993, allocations: 67.66 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.01007, allocations: 51.8 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.01075, allocations: 378.8 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.01075, allocations: 0 / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01075, allocations: 0 / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01076, allocations: 3.938 kB / 275.9 MB, free: 14.05 MB / 266.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.001186/0.01195, allocations: 0.6513 MB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.012, allocations: 15.98 kB / 276.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.01215, allocations: 44.7 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.01256, allocations: 220.1 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.01259, allocations: 8.375 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.01263, allocations: 8.375 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.01319, allocations: 252.9 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.0132, allocations: 192 / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.01323, allocations: 4.375 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01324, allocations: 3.938 kB / 277.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.01359, allocations: 186.7 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.01457, allocations: 380.3 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.01498, allocations: 197.3 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.01535, allocations: 183.7 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01538, allocations: 3.938 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007008/0.01608, allocations: 329.5 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.01608, allocations: 0 / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001677/0.01776, allocations: 0.7166 MB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.01793, allocations: 166.2 kB / 279.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.0191, allocations: 0.513 MB / 279.8 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.01916, allocations: 33.7 kB / 279.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01927, allocations: 97.23 kB / 279.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.01934, allocations: 39.72 kB / 279.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.01953, allocations: 77.56 kB / 280 MB, free: 9.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.01979, allocations: 326.8 kB / 280.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.02015, allocations: 178.8 kB / 280.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.02051, allocations: 196.4 kB / 280.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.02114, allocations: 350.8 kB / 281 MB, free: 8.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02114, allocations: 0 / 281 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001016/0.02216, allocations: 0.5186 MB / 281.6 MB, free: 7.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.02231, allocations: 126.8 kB / 281.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.02232, allocations: 4 kB / 281.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.02235, allocations: 0 / 281.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.44e-05/0.02237, allocations: 0 / 281.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02238, allocations: 0 / 281.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.02261, allocations: 15.98 kB / 281.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.02273, allocations: 59.94 kB / 281.8 MB, free: 7.605 MB / 266.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.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.0006179/0.02335, allocations: 358.5 kB / 282.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.02348, allocations: 51.7 kB / 282.2 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.02365, allocations: 75.06 kB / 282.2 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.02366, allocations: 4 kB / 282.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.02366, allocations: 0 / 282.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.02367, allocations: 3.984 kB / 282.2 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.02545, allocations: 0.8666 MB / 283.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02545, allocations: 192 / 283.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.02546, allocations: 4 kB / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.02547, allocations: 0 / 283.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.02552, allocations: 15.98 kB / 283.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02552, allocations: 0 / 283.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.02552, allocations: 3.938 kB / 283.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.02685, allocations: 0.6764 MB / 283.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.02745, allocations: 205.4 kB / 284 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.02753, allocations: 11.94 kB / 284 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.02776, allocations: 11.98 kB / 284 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.02794, allocations: 27.97 kB / 284.1 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.02806, allocations: 63.94 kB / 284.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008394/0.0289, allocations: 382.9 kB / 284.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0289, allocations: 0 / 284.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005463/0.02945, allocations: 44 kB / 284.5 MB, free: 4.645 MB / 266.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,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.0002166/0.02966, allocations: 115 kB / 284.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.03078, allocations: 0.6124 MB / 285.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.03079, allocations: 4 kB / 285.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.03142, allocations: 424.4 kB / 285.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.03244, allocations: 134.6 kB / 285.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.03442, allocations: 0.7899 MB / 286.6 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.03485, allocations: 197.8 kB / 286.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.03491, allocations: 12.7 kB / 286.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.03496, allocations: 12.5 kB / 286.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of SimCode: time 1.123e-06/0.03496, allocations: 0 / 286.8 MB, free: 2.113 MB / 266.7 MB Notification: Performance of Templates: time 0.01401/0.04897, allocations: 5.004 MB / 291.8 MB, free: 13.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.498255162965506]