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.001429/0.001429, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001556/0.001556, allocations: 214.9 kB / 24.48 MB, free: 3.941 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.696/1.696, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001759/0.001759, allocations: 51.91 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3579, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005049/0.3629, allocations: 3.119 MB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3647, allocations: 0.826 MB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3649, allocations: 4 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.3652, allocations: 71.3 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.3654, allocations: 131 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.3658, allocations: 147.8 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.3664, allocations: 0.498 MB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.3667, allocations: 125 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.367, allocations: 195.3 kB / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3673, allocations: 199.1 kB / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.3673, allocations: 56 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3674, allocations: 52 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.3675, allocations: 99.62 kB / 437.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.3677, allocations: 179.2 kB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.3684, allocations: 0.5711 MB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3684, allocations: 0 / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3684, allocations: 0 / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3684, allocations: 0 / 438.6 MB, free: 444 kB / 334.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.0013/0.3697, allocations: 0.6476 MB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3698, allocations: 8.031 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.37, allocations: 52.66 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/0.3706, allocations: 270.7 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3706, allocations: 29.38 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.3707, allocations: 32.12 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.3715, allocations: 493 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3715, allocations: 0 / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.3716, allocations: 23.92 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3716, allocations: 8 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.3722, allocations: 299.8 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.3745, allocations: 1.233 MB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3752, allocations: 226.7 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.3754, allocations: 88.81 kB / 442 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3755, allocations: 4 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3755, allocations: 30.56 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3755, allocations: 0 / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002318/0.3778, allocations: 0.6082 MB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3779, allocations: 51.41 kB / 442.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.3782, allocations: 285.8 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.3782, allocations: 33.7 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3784, allocations: 232.1 kB / 443.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3785, allocations: 55.53 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3786, allocations: 57.66 kB / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3788, allocations: 338.8 kB / 443.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.379, allocations: 79.95 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.3793, allocations: 161.4 kB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.3798, allocations: 249.2 kB / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3798, allocations: 0 / 444.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001077/0.3809, allocations: 422.2 kB / 444.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3809, allocations: 8.062 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3809, allocations: 4 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.3814, allocations: 113.6 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3816, allocations: 39.98 kB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.3861, allocations: 3.304 MB / 448 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.3863, allocations: 35.84 kB / 448 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3863, allocations: 12 kB / 448.1 MB, free: 6.445 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.0002555/0.3866, allocations: 153.8 kB / 448.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3867, allocations: 28 kB / 448.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.3867, allocations: 34.03 kB / 448.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3867, allocations: 7.938 kB / 448.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3867, allocations: 3.938 kB / 448.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3867, allocations: 0 / 448.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.3871, allocations: 249.1 kB / 448.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3871, allocations: 4 kB / 448.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.3872, allocations: 11.98 kB / 448.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003971/0.3876, allocations: 113.8 kB / 448.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3876, allocations: 0 / 448.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.3915, allocations: 3.203 MB / 451.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3915, allocations: 3.938 kB / 451.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009945/0.3925, allocations: 436.1 kB / 452.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.3926, allocations: 27.8 kB / 452.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.3926, allocations: 8 kB / 452.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3928, allocations: 19.98 kB / 452.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.3929, allocations: 23.84 kB / 452.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3929, allocations: 8 kB / 452.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.3931, allocations: 201.2 kB / 452.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 452.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.3937, allocations: 103.8 kB / 452.7 MB, free: 1.566 MB / 350.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.0001539/0.3939, allocations: 99.19 kB / 452.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.3952, allocations: 0.5128 MB / 453.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3952, allocations: 0 / 453.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.3957, allocations: 337.2 kB / 453.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.3961, allocations: 36.98 kB / 453.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3974, allocations: 0.5598 MB / 454.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3976, allocations: 176.8 kB / 454.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3977, allocations: 30.27 kB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.3978, allocations: 15.44 kB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3978, allocations: 0 / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Templates: time 0.009717/0.4075, allocations: 4.073 MB / 458.5 MB, free: 11.68 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/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: 5.254827818003832]