Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 109.2 kB / 17.06 MB, free: 6.016 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.001842/0.001842, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2717, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002607/0.2744, allocations: 1.494 MB / 401.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2763, allocations: 0.8546 MB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.2764, allocations: 0 / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2765, allocations: 11.92 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.2766, allocations: 19.8 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.2769, allocations: 43.94 kB / 402.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.2771, allocations: 147.7 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2773, allocations: 27.73 kB / 402.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.278, allocations: 0.5731 MB / 403.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2781, allocations: 71.69 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.2782, allocations: 12 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.2782, allocations: 8 kB / 403.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.2783, allocations: 67.75 kB / 403.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2785, allocations: 115.1 kB / 403.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.2789, allocations: 373.5 kB / 404 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2789, allocations: 7.938 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2789, allocations: 0 / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2789, allocations: 0 / 404 MB, free: 5.004 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.0008481/0.2798, allocations: 0.7266 MB / 404.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2798, allocations: 12.03 kB / 404.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.2799, allocations: 38.75 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.28, allocations: 36.7 kB / 404.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2803, allocations: 278.6 kB / 405.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2803, allocations: 8.375 kB / 405.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.2803, allocations: 12.36 kB / 405.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2807, allocations: 129.7 kB / 405.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.2807, allocations: 0 / 405.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.2807, allocations: 8 kB / 405.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2807, allocations: 4 kB / 405.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2809, allocations: 55.97 kB / 405.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.2815, allocations: 472.4 kB / 405.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.2817, allocations: 94.55 kB / 405.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2819, allocations: 88.94 kB / 406 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2819, allocations: 7.984 kB / 406 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.2823, allocations: 206.6 kB / 406.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2823, allocations: 0 / 406.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008473/0.2832, allocations: 476.3 kB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.2833, allocations: 174.2 kB / 406.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.284, allocations: 0.5129 MB / 407.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.284, allocations: 29.7 kB / 407.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.2841, allocations: 93.14 kB / 407.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.2842, allocations: 35.73 kB / 407.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.2843, allocations: 85.56 kB / 407.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2845, allocations: 322.8 kB / 407.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2846, allocations: 59.97 kB / 408 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2848, allocations: 77.67 kB / 408 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.2851, allocations: 342.7 kB / 408.4 MB, free: 312 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2851, allocations: 3.938 kB / 408.4 MB, free: 308 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005762/0.2857, allocations: 384.6 kB / 408.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.2858, allocations: 122.8 kB / 408.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2859, allocations: 7.938 kB / 408.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2859, allocations: 0 / 408.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.2859, allocations: 4.031 kB / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2859, allocations: 0 / 408.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.286, allocations: 19.88 kB / 408.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.2861, allocations: 56.12 kB / 408.9 MB, free: 15.66 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.000354/0.2865, allocations: 370.5 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.2865, allocations: 39.77 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2866, allocations: 63.16 kB / 409.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2867, allocations: 4 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2867, allocations: 4 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2867, allocations: 3.984 kB / 409.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2877, allocations: 0.8096 MB / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2877, allocations: 3.984 kB / 410.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.2877, allocations: 7.938 kB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2877, allocations: 0 / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2878, allocations: 8 kB / 410.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.2878, allocations: 7.938 kB / 410.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2878, allocations: 3.938 kB / 410.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.2885, allocations: 0.5371 MB / 410.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.2888, allocations: 248.6 kB / 411 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.2889, allocations: 12 kB / 411.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.289, allocations: 15.92 kB / 411.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2891, allocations: 23.97 kB / 411.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.2892, allocations: 63.94 kB / 411.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000471/0.2897, allocations: 382.9 kB / 411.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2897, allocations: 0 / 411.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.29, allocations: 48 kB / 411.6 MB, free: 12.86 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.001052/0.291, allocations: 1.103 MB / 412.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.2916, allocations: 445.5 kB / 413.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2916, allocations: 0 / 413.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.292, allocations: 377.6 kB / 413.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.2926, allocations: 120.9 kB / 413.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.2961, allocations: 2.752 MB / 416.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.2966, allocations: 0.8058 MB / 417.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.765e-05/0.2966, allocations: 8.656 kB / 417.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.2967, allocations: 31.36 kB / 417.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2967, allocations: 7.938 kB / 417.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3274, allocations: 6.018 MB / 423.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.211, allocations: 4 kB / 423.2 MB, free: 0.9453 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches