Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001677/0.001677, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00183/0.00183, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.61/1.61, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 47.92 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1084, allocations: 53.34 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005269/0.1137, allocations: 3.393 MB / 430.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2078/0.3215, allocations: 0.8723 MB / 431.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.322, allocations: 8.469 kB / 431.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3222, allocations: 69.2 kB / 431.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.3225, allocations: 124.5 kB / 431.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3229, allocations: 145.9 kB / 431.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.3234, allocations: 0.4923 MB / 431.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.3236, allocations: 122.3 kB / 432.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.3239, allocations: 197.6 kB / 432.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.3242, allocations: 202.7 kB / 432.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.3242, allocations: 49.5 kB / 432.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3244, allocations: 55.41 kB / 432.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.3244, allocations: 100.8 kB / 432.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.3246, allocations: 224.8 kB / 432.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.3251, allocations: 0.5664 MB / 433.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3251, allocations: 2.5 kB / 433.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3251, allocations: 1.078 kB / 433.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3251, allocations: 0 / 433.4 MB, free: 8.375 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001095/0.3262, allocations: 0.715 MB / 434.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3263, allocations: 11.97 kB / 434.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3265, allocations: 48.42 kB / 434.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.3269, allocations: 332.4 kB / 434.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.3269, allocations: 26.41 kB / 434.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.327, allocations: 31.94 kB / 434.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007592/0.3277, allocations: 393.8 kB / 435 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3277, allocations: 0 / 435 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3278, allocations: 15.38 kB / 435 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3278, allocations: 12.64 kB / 435 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.3285, allocations: 298.4 kB / 435.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.3307, allocations: 1.442 MB / 436.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.3314, allocations: 229.9 kB / 437 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.3317, allocations: 87.95 kB / 437 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3317, allocations: 6.109 kB / 437.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3317, allocations: 33.12 kB / 437.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.3317, allocations: 0 / 437.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002517/0.3342, allocations: 0.7526 MB / 437.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.3343, allocations: 57.47 kB / 437.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.3346, allocations: 317 kB / 438.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3346, allocations: 28.17 kB / 438.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3348, allocations: 240.9 kB / 438.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3348, allocations: 63.81 kB / 438.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3349, allocations: 47.64 kB / 438.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.335, allocations: 337.6 kB / 438.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.3352, allocations: 80.25 kB / 439 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.3355, allocations: 166.3 kB / 439.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.336, allocations: 256.7 kB / 439.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.336, allocations: 1.25 kB / 439.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001128/0.3371, allocations: 421.3 kB / 439.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.3371, allocations: 7.406 kB / 439.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3371, allocations: 3.406 kB / 439.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.3377, allocations: 120.9 kB / 439.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3378, allocations: 34.95 kB / 440 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.3417, allocations: 3.56 MB / 443.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.3419, allocations: 36.84 kB / 443.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.342, allocations: 20.09 kB / 443.6 MB, free: 1.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.3422, allocations: 158.9 kB / 443.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.3422, allocations: 31.36 kB / 443.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3423, allocations: 32.89 kB / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3423, allocations: 1.906 kB / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3423, allocations: 1.875 kB / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3423, allocations: 1.266 kB / 443.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.3428, allocations: 360.3 kB / 444.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3428, allocations: 4.594 kB / 444.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.3429, allocations: 21.09 kB / 444.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.3433, allocations: 108.8 kB / 444.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3433, allocations: 9.641 kB / 444.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/0.3474, allocations: 3.472 MB / 447.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3474, allocations: 1.125 kB / 447.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.3485, allocations: 432.5 kB / 448.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3486, allocations: 107.7 kB / 448.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3487, allocations: 5.156 kB / 448.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3489, allocations: 25.58 kB / 448.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.349, allocations: 20 kB / 448.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.349, allocations: 5.016 kB / 448.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.3493, allocations: 226 kB / 448.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3493, allocations: 0 / 448.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006536/0.35, allocations: 98.59 kB / 448.7 MB, free: 13.29 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.3501, allocations: 103.8 kB / 448.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3515, allocations: 0.5045 MB / 449.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3515, allocations: 4.125 kB / 449.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.352, allocations: 341.7 kB / 449.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3524, allocations: 57.5 kB / 449.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3536, allocations: 0.5707 MB / 450.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.3542, allocations: 0.7789 MB / 451 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3543, allocations: 27.47 kB / 451 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3543, allocations: 20.95 kB / 451.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3543, allocations: 0 / 451.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.3644, allocations: 4.069 MB / 455.1 MB, free: 11.15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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: 4.875540371984243]