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) 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) 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.00124, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2449, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00263/0.2476, allocations: 1.515 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2494, allocations: 0.8834 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.2495, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.2496, allocations: 11.86 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.2497, allocations: 19.86 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2499, allocations: 51.89 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.2502, allocations: 135.8 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.2503, allocations: 23.17 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006157/0.2509, allocations: 0.5654 MB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.251, allocations: 71.69 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.2511, allocations: 12 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.731e-05/0.2511, allocations: 15.94 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.2512, allocations: 67.75 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.2514, allocations: 115.1 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.2518, allocations: 373.7 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2518, allocations: 0 / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2518, allocations: 0 / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2518, allocations: 0 / 412.7 MB, free: 13.6 MB / 334.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.0008697/0.2527, allocations: 0.7306 MB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.2527, allocations: 8.031 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.2528, allocations: 42.75 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.2529, allocations: 40.7 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.2532, allocations: 282.6 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.2533, allocations: 4.375 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2533, allocations: 12.38 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2536, allocations: 133.2 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2537, allocations: 0 / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2537, allocations: 7.938 kB / 413.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2537, allocations: 0 / 413.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.2539, allocations: 59.97 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.2546, allocations: 476.4 kB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2548, allocations: 94.55 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.255, allocations: 80.89 kB / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.255, allocations: 0 / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.2554, allocations: 214.6 kB / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2554, allocations: 0 / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008134/0.2562, allocations: 480.3 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.2563, allocations: 166.2 kB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.257, allocations: 0.513 MB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2571, allocations: 29.7 kB / 416 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.2571, allocations: 105 kB / 416.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2572, allocations: 27.84 kB / 416.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2573, allocations: 77.56 kB / 416.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2575, allocations: 330.8 kB / 416.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2576, allocations: 59.97 kB / 416.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2578, allocations: 73.67 kB / 416.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2581, allocations: 347.2 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2581, allocations: 0 / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005507/0.2587, allocations: 380.3 kB / 417.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.91e-05/0.2588, allocations: 130.8 kB / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2588, allocations: 0 / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2588, allocations: 4 kB / 417.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-05/0.2589, allocations: 3.938 kB / 417.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2589, allocations: 3.938 kB / 417.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.259, allocations: 15.98 kB / 417.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.2591, allocations: 55.94 kB / 417.6 MB, free: 8.254 MB / 334.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.0003905/0.2595, allocations: 370.8 kB / 417.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.2595, allocations: 43.77 kB / 418 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2597, allocations: 71.14 kB / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2597, allocations: 0 / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2597, allocations: 0 / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2597, allocations: 112 / 418 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.2607, allocations: 0.8284 MB / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2607, allocations: 0 / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.2608, allocations: 0 / 418.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2608, allocations: 3.984 kB / 418.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.2608, allocations: 16 kB / 418.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2608, allocations: 4 kB / 418.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2608, allocations: 3.938 kB / 418.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.2615, allocations: 0.5293 MB / 419.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.2618, allocations: 252.6 kB / 419.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2619, allocations: 8 kB / 419.7 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.262, allocations: 11.98 kB / 419.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.2621, allocations: 27.92 kB / 419.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.2622, allocations: 59.92 kB / 419.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004904/0.2627, allocations: 390.9 kB / 420.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2627, allocations: 3.938 kB / 420.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.263, allocations: 40 kB / 420.2 MB, free: 5.445 MB / 334.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.001151/0.2642, allocations: 1.097 MB / 421.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006206/0.2648, allocations: 441.5 kB / 421.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2648, allocations: 0 / 421.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.2652, allocations: 377.9 kB / 422.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.2659, allocations: 132.5 kB / 422.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.2695, allocations: 2.746 MB / 425 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.2701, allocations: 0.81 MB / 425.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.2701, allocations: 8.656 kB / 425.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.2702, allocations: 27.42 kB / 425.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2702, allocations: 0 / 425.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.2973, allocations: 6.012 MB / 431.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.102, allocations: 11.94 kB / 431.8 MB, free: 9.516 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches