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.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 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 106.6 kB / 18.4 MB, free: 4.66 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.00106/0.001061, allocations: 190.1 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.08093, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00255/0.08352, allocations: 1.497 MB / 377.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.08541, allocations: 0.8895 MB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.0855, allocations: 8 kB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-05/0.08561, allocations: 11.86 kB / 378.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.08569, allocations: 15.86 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.08593, allocations: 47.88 kB / 378.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.08614, allocations: 139.7 kB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.08625, allocations: 28.2 kB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.08685, allocations: 0.5654 MB / 379 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.08701, allocations: 79.62 kB / 379.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.08706, allocations: 8 kB / 379.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.676e-05/0.0871, allocations: 8 kB / 379.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.08719, allocations: 63.77 kB / 379.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.08731, allocations: 119.1 kB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.08765, allocations: 366.8 kB / 379.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.08766, allocations: 0 / 379.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08767, allocations: 3.938 kB / 379.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.08769, allocations: 4 kB / 379.7 MB, free: 0.707 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.1593/0.247, allocations: 0.7127 MB / 380.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2471, allocations: 9.656 kB / 380.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.2472, allocations: 40.5 kB / 380.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2474, allocations: 276.1 kB / 380.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2474, allocations: 7.438 kB / 380.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2475, allocations: 9.047 kB / 380.7 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2478, allocations: 126.1 kB / 380.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2478, allocations: 2.078 kB / 380.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.2478, allocations: 7.469 kB / 380.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2478, allocations: 0.875 kB / 380.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.248, allocations: 65.28 kB / 380.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.2486, allocations: 466.8 kB / 381.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.2488, allocations: 96.28 kB / 381.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.249, allocations: 90.11 kB / 381.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.249, allocations: 1.375 kB / 381.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.2494, allocations: 201.9 kB / 381.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.2494, allocations: 1.375 kB / 381.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007742/0.2502, allocations: 485.8 kB / 382.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.2502, allocations: 165.2 kB / 382.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.2509, allocations: 0.5187 MB / 382.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.251, allocations: 36.83 kB / 382.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.251, allocations: 95.36 kB / 383 MB, free: 11.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.2511, allocations: 30.83 kB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.2512, allocations: 89.39 kB / 383.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.2513, allocations: 324.9 kB / 383.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2514, allocations: 59.55 kB / 383.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.2516, allocations: 75.48 kB / 383.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.2519, allocations: 347.3 kB / 383.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2519, allocations: 1.203 kB / 383.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005091/0.2524, allocations: 386.3 kB / 384.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.2524, allocations: 125.7 kB / 384.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2525, allocations: 3.562 kB / 384.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2525, allocations: 1.5 kB / 384.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.2525, allocations: 1.344 kB / 384.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2525, allocations: 0 / 384.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2527, allocations: 15.62 kB / 384.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.2527, allocations: 57.98 kB / 384.5 MB, free: 10.68 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.0002793/0.253, allocations: 367.4 kB / 384.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.2531, allocations: 44.81 kB / 384.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.2532, allocations: 65.41 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2532, allocations: 0 / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2532, allocations: 1.281 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.2535, allocations: 245.4 kB / 385.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.2535, allocations: 11.41 kB / 385.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2537, allocations: 12.94 kB / 385.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2538, allocations: 28.34 kB / 385.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005946/0.2544, allocations: 0.7017 MB / 386 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005795/0.255, allocations: 0.6142 MB / 386.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001753/0.2552, allocations: 148 kB / 386.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004212/0.2556, allocations: 387.1 kB / 387.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of Backend: time 3.11e-07/0.2556, allocations: 0 / 387.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.2562, allocations: 449.2 kB / 387.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of SimCode: time 0.001148/0.2574, allocations: 1.321 MB / 388.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of Templates: time 0.008553/0.266, allocations: 4.192 MB / 393.1 MB, free: 6.859 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) 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) Reference file matches