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.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.001287/0.001287, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001499/0.001499, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.357/1.357, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",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.001777/0.001777, allocations: 54.58 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2502, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002306/0.2525, allocations: 1.462 MB / 397.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.2542, allocations: 0.8558 MB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2542, allocations: 1.156 kB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.188e-05/0.2543, allocations: 12.58 kB / 398.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.2544, allocations: 26 kB / 398.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.2546, allocations: 49.25 kB / 398.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.2548, allocations: 125.3 kB / 398.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.2548, allocations: 24.89 kB / 398.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.2554, allocations: 0.579 MB / 399.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2555, allocations: 70.95 kB / 399.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2556, allocations: 9.312 kB / 399.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.485e-05/0.2556, allocations: 9.625 kB / 399.6 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.2557, allocations: 66.8 kB / 399.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.2558, allocations: 79.59 kB / 399.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.2562, allocations: 381.7 kB / 400.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2562, allocations: 0 / 400.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2562, allocations: 0.5156 kB / 400.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2562, allocations: 0 / 400.1 MB, free: 6.93 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.0005969/0.2568, allocations: 0.6604 MB / 400.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2569, allocations: 13.83 kB / 400.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.2569, allocations: 40.03 kB / 400.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.257, allocations: 39.39 kB / 400.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2572, allocations: 218.8 kB / 401 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2572, allocations: 4.406 kB / 401 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.2573, allocations: 6.719 kB / 401.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.2576, allocations: 252 kB / 401.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2576, allocations: 0 / 401.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2576, allocations: 8.016 kB / 401.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2576, allocations: 5.062 kB / 401.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2578, allocations: 176.3 kB / 401.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.2584, allocations: 423.7 kB / 401.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2586, allocations: 197.3 kB / 402.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2587, allocations: 174.7 kB / 402.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2587, allocations: 5.125 kB / 402.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.259, allocations: 327.2 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.259, allocations: 1.031 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007705/0.2598, allocations: 0.7055 MB / 403.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.2599, allocations: 171.6 kB / 403.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.2605, allocations: 0.5141 MB / 404 MB, free: 3.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2605, allocations: 34.23 kB / 404 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.2605, allocations: 99.44 kB / 404.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.2606, allocations: 30.12 kB / 404.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.2606, allocations: 88.72 kB / 404.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.2607, allocations: 329.2 kB / 404.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2608, allocations: 174.8 kB / 404.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.261, allocations: 196.9 kB / 404.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2613, allocations: 352.4 kB / 405.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2613, allocations: 0 / 405.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00051/0.2618, allocations: 0.5042 MB / 405.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.2618, allocations: 124.1 kB / 405.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2618, allocations: 4.547 kB / 405.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2618, allocations: 1.125 kB / 405.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.2619, allocations: 1.844 kB / 405.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2619, allocations: 0.9688 kB / 405.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.262, allocations: 10.23 kB / 405.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.2621, allocations: 62.19 kB / 406 MB, free: 2.129 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.0002749/0.2623, allocations: 364.5 kB / 406.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.2624, allocations: 43.2 kB / 406.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.2625, allocations: 65.97 kB / 406.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2625, allocations: 1 kB / 406.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2625, allocations: 0 / 406.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2625, allocations: 0.6562 kB / 406.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.2634, allocations: 0.8922 MB / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2634, allocations: 0 / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.2634, allocations: 1.562 kB / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2634, allocations: 0 / 407.3 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.2634, allocations: 25.7 kB / 407.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2634, allocations: 1.375 kB / 407.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2634, allocations: 3.938 kB / 407.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2639, allocations: 0.6621 MB / 408 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.2643, allocations: 202.2 kB / 408.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.2644, allocations: 11.67 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2645, allocations: 10.27 kB / 408.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-05/0.2646, allocations: 30.53 kB / 408.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.2646, allocations: 57.42 kB / 408.3 MB, free: 452 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004/0.265, allocations: 387.1 kB / 408.7 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 4 kB / 408.7 MB, free: 236 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.2653, allocations: 49.89 kB / 408.7 MB, free: 228 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,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.001051/0.2664, allocations: 1.209 MB / 409.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.267, allocations: 0.6033 MB / 410.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.267, allocations: 3.938 kB / 410.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.2674, allocations: 429.6 kB / 411 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.268, allocations: 115.1 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.2718, allocations: 3.374 MB / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2721, allocations: 187.8 kB / 414.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.2722, allocations: 12.45 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.2722, allocations: 30.73 kB / 414.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2722, allocations: 0 / 414.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.306, allocations: 6.968 MB / 421.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.91, allocations: 9.141 kB / 421.7 MB, free: 7.566 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.169844668824226]