Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001436/0.001436, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001118, allocations: 91.16 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.48e-05, allocations: 4 kB / 343.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09667, allocations: 51.48 MB / 395.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.302/0.3987, allocations: 82.32 MB / 477.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.399, allocations: 67.47 kB / 477.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02703/0.426, allocations: 16.7 MB / 494.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4261, allocations: 4 kB / 494.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4261, allocations: 4 kB / 494.3 MB, free: 13.36 MB / 362.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.0006394/0.4268, allocations: 0.6229 MB / 494.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4268, allocations: 12.03 kB / 494.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.4269, allocations: 35.62 kB / 494.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4272, allocations: 260.3 kB / 495.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4272, allocations: 4 kB / 495.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4273, allocations: 8 kB / 495.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001272/0.4274, allocations: 52.67 kB / 495.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4276, allocations: 121.2 kB / 495.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4276, allocations: 0 / 495.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.4276, allocations: 4 kB / 495.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4277, allocations: 0 / 495.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.4283, allocations: 433.7 kB / 495.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4284, allocations: 89.31 kB / 495.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.4285, allocations: 78.72 kB / 496 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.4285, allocations: 0 / 496 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.4288, allocations: 198.7 kB / 496.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.4288, allocations: 0 / 496.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004634/0.4293, allocations: 276.1 kB / 496.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.4294, allocations: 165.5 kB / 496.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.4298, allocations: 446.2 kB / 497 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4299, allocations: 37.39 kB / 497.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.43, allocations: 104.1 kB / 497.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.43, allocations: 27.25 kB / 497.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.43, allocations: 0 / 497.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4301, allocations: 329 kB / 497.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.133e-05/0.4302, allocations: 52.67 kB / 497.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.4303, allocations: 51.98 kB / 497.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.4304, allocations: 47.94 kB / 497.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4304, allocations: 0 / 497.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000361/0.4308, allocations: 243.4 kB / 497.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/0.4309, allocations: 125.7 kB / 498 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4309, allocations: 4 kB / 498 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4309, allocations: 4 kB / 498 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.4309, allocations: 0 / 498 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4309, allocations: 112 / 498 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4311, allocations: 15.92 kB / 498 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.4311, allocations: 55.94 kB / 498.1 MB, free: 9.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.4313, allocations: 248.7 kB / 498.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.4314, allocations: 39.53 kB / 498.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.4315, allocations: 71.3 kB / 498.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4315, allocations: 4 kB / 498.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4315, allocations: 0 / 498.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4315, allocations: 0 / 498.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.4323, allocations: 0.6437 MB / 499.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4323, allocations: 0 / 499.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.4323, allocations: 4 kB / 499.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4323, allocations: 0 / 499.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4323, allocations: 11.98 kB / 499.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4323, allocations: 4 kB / 499.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4323, allocations: 4 kB / 499.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.4328, allocations: 388.7 kB / 499.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.4331, allocations: 249.9 kB / 499.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.4331, allocations: 10.88 kB / 499.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4333, allocations: 15.92 kB / 499.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4334, allocations: 27.78 kB / 499.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.4335, allocations: 63.69 kB / 499.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003914/0.4339, allocations: 368 kB / 0.4885 GB, free: 7.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4339, allocations: 0 / 0.4885 GB, free: 7.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.4342, allocations: 44 kB / 0.4885 GB, free: 7.734 MB / 362.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,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.4343, allocations: 109.1 kB / 0.4886 GB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.4347, allocations: 415.8 kB / 0.489 GB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4347, allocations: 0 / 0.489 GB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.435, allocations: 374.5 kB / 0.4894 GB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.4355, allocations: 108.2 kB / 0.4895 GB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.4363, allocations: 0.5105 MB / 0.49 GB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.4368, allocations: 0.8189 MB / 0.4908 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.4368, allocations: 4.672 kB / 0.4908 GB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.4369, allocations: 11.44 kB / 0.4908 GB, free: 5.508 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4369, allocations: 0 / 0.4908 GB, free: 5.508 MB / 362.7 MB Notification: Performance of Templates: time 0.006206/0.4431, allocations: 3.907 MB / 0.4946 GB, free: 1.566 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches