Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 107.6 kB / 21.18 MB, free: 0.6094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 215 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 207.7 MB / 235.3 MB, free: 9.824 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 58.58 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2379, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002364/0.2403, allocations: 1.464 MB / 397.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2419, allocations: 0.8553 MB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.242, allocations: 1.344 kB / 398.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.368e-05/0.2421, allocations: 12 kB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.2421, allocations: 19.06 kB / 398.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.2424, allocations: 52.66 kB / 398.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.2425, allocations: 133.5 kB / 398.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.2426, allocations: 16.17 kB / 398.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.2432, allocations: 0.5762 MB / 399.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2433, allocations: 78.36 kB / 399.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.2433, allocations: 9.969 kB / 399.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.455e-05/0.2434, allocations: 9.219 kB / 399.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.2435, allocations: 65.59 kB / 399.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.2435, allocations: 83.88 kB / 399.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.2439, allocations: 369.5 kB / 400.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2439, allocations: 1.953 kB / 400.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2439, allocations: 3.938 kB / 400.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2439, allocations: 0 / 400.1 MB, free: 6.941 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.000584/0.2445, allocations: 0.6567 MB / 400.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2445, allocations: 13.2 kB / 400.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2446, allocations: 45.39 kB / 400.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.2446, allocations: 38.45 kB / 400.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2449, allocations: 222.5 kB / 401 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2449, allocations: 4.906 kB / 401 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.2449, allocations: 11.28 kB / 401.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.2452, allocations: 247 kB / 401.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2452, allocations: 0 / 401.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2453, allocations: 4.516 kB / 401.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2453, allocations: 4 kB / 401.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.2454, allocations: 177.9 kB / 401.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.246, allocations: 421.8 kB / 401.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.2462, allocations: 198.6 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2464, allocations: 178.1 kB / 402.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2464, allocations: 1.25 kB / 402.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.2467, allocations: 335.2 kB / 402.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.2467, allocations: 1.312 kB / 402.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007748/0.2475, allocations: 0.7024 MB / 403.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.2476, allocations: 168.1 kB / 403.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.2481, allocations: 0.5168 MB / 404 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2481, allocations: 33.08 kB / 404 MB, free: 3.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2482, allocations: 100.3 kB / 404.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.2482, allocations: 27.84 kB / 404.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.2483, allocations: 89 kB / 404.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.2483, allocations: 326.5 kB / 404.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.2485, allocations: 174.2 kB / 404.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2486, allocations: 194.4 kB / 404.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2489, allocations: 350.4 kB / 405.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2489, allocations: 0 / 405.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005008/0.2494, allocations: 0.5073 MB / 405.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.2495, allocations: 127.6 kB / 405.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2495, allocations: 1.562 kB / 405.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2495, allocations: 0 / 405.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.2495, allocations: 2.469 kB / 405.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2495, allocations: 0 / 405.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2496, allocations: 14.97 kB / 405.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.2497, allocations: 62.14 kB / 405.9 MB, free: 2.141 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0002701/0.25, allocations: 360.9 kB / 406.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.25, allocations: 39.25 kB / 406.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.2501, allocations: 69.33 kB / 406.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2501, allocations: 1.125 kB / 406.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2501, allocations: 0 / 406.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2501, allocations: 1.812 kB / 406.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.251, allocations: 0.8944 MB / 407.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.251, allocations: 192 / 407.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-06/0.251, allocations: 9.578 kB / 407.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.251, allocations: 0.8438 kB / 407.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.251, allocations: 16.66 kB / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.251, allocations: 1.094 kB / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.251, allocations: 7.938 kB / 407.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.2516, allocations: 0.6575 MB / 408 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.2519, allocations: 200.1 kB / 408.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.252, allocations: 11.16 kB / 408.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2521, allocations: 9.672 kB / 408.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2522, allocations: 34.31 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.2523, allocations: 62.88 kB / 408.3 MB, free: 460 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.2527, allocations: 387 kB / 408.7 MB, free: 248 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2527, allocations: 0 / 408.7 MB, free: 248 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.253, allocations: 45.2 kB / 408.7 MB, free: 244 kB / 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,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 (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.001067/0.254, allocations: 1.211 MB / 409.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.2547, allocations: 0.612 MB / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2547, allocations: 0 / 410.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.2551, allocations: 425.7 kB / 411 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.2557, allocations: 112.1 kB / 411.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.2597, allocations: 3.37 MB / 414.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.26, allocations: 195.2 kB / 414.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.2601, allocations: 12.97 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.2601, allocations: 27 kB / 414.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2601, allocations: 0 / 414.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.2946, allocations: 6.983 MB / 421.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.95, allocations: 5.141 kB / 421.7 MB, free: 7.57 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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: 13.172122654039413]