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.002074/0.002074, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002201/0.002201, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.00164/0.00164, allocations: 43.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2699, allocations: 53.37 MB / 431.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.006964/0.2769, allocations: 3.429 MB / 435.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2793, allocations: 0.8649 MB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.2796, allocations: 11.94 kB / 436 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.2798, allocations: 67.36 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.2802, allocations: 123 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.2808, allocations: 151.8 kB / 436.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008489/0.2816, allocations: 0.4902 MB / 436.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.282, allocations: 129.3 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.2825, allocations: 191.4 kB / 437.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.2829, allocations: 203.1 kB / 437.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.283, allocations: 48 kB / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2831, allocations: 52 kB / 437.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.2833, allocations: 107.6 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.2836, allocations: 222.9 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.2846, allocations: 0.5655 MB / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2846, allocations: 0 / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2846, allocations: 0 / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2846, allocations: 0 / 438.3 MB, free: 296 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.001687/0.2863, allocations: 0.6378 MB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2864, allocations: 12.03 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.2866, allocations: 56.64 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.2873, allocations: 266.7 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/0.2874, allocations: 29.38 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.2874, allocations: 40.06 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2885, allocations: 394.1 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.2885, allocations: 4 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.2886, allocations: 12 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.2886, allocations: 12 kB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.2896, allocations: 299.9 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.2932, allocations: 1.392 MB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.2942, allocations: 226.8 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.2945, allocations: 88.81 kB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2945, allocations: 4 kB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2946, allocations: 38.5 kB / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.2946, allocations: 0 / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.003074/0.2977, allocations: 0.6033 MB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2977, allocations: 55.41 kB / 442.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.2982, allocations: 316.4 kB / 442.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.2983, allocations: 37.7 kB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.2985, allocations: 228.2 kB / 443 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.2986, allocations: 59.48 kB / 443 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2988, allocations: 53.7 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.2991, allocations: 342.8 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.2994, allocations: 75.97 kB / 443.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.2998, allocations: 169.3 kB / 443.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.3005, allocations: 248.3 kB / 443.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3005, allocations: 0 / 443.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00151/0.3021, allocations: 426.9 kB / 444.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3021, allocations: 4 kB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3021, allocations: 4 kB / 444.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.3027, allocations: 113.7 kB / 444.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.303, allocations: 43.92 kB / 444.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.3089, allocations: 3.369 MB / 447.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.3093, allocations: 31.78 kB / 447.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.3093, allocations: 11.98 kB / 447.9 MB, free: 6.117 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.0002916/0.3096, allocations: 157.8 kB / 448.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3097, allocations: 31.75 kB / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/0.3098, allocations: 30.25 kB / 448.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3098, allocations: 4 kB / 448.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3098, allocations: 0 / 448.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3098, allocations: 0 / 448.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006069/0.3104, allocations: 344.4 kB / 448.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3104, allocations: 4 kB / 448.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.3106, allocations: 15.94 kB / 448.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.3111, allocations: 109.6 kB / 448.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3111, allocations: 11.98 kB / 448.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004783/0.3159, allocations: 3.26 MB / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3159, allocations: 0 / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.317, allocations: 428.8 kB / 452.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.3171, allocations: 31.92 kB / 452.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3171, allocations: 8 kB / 452.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3173, allocations: 27.95 kB / 452.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3174, allocations: 19.97 kB / 452.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3174, allocations: 0 / 452.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.3177, allocations: 227.1 kB / 452.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 0 / 452.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005251/0.3182, allocations: 99.78 kB / 452.7 MB, free: 1.035 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.0001458/0.3183, allocations: 103.2 kB / 452.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3195, allocations: 0.5053 MB / 453.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3195, allocations: 0 / 453.3 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.32, allocations: 337.2 kB / 453.6 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3204, allocations: 60.72 kB / 453.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3216, allocations: 0.5817 MB / 454.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.322, allocations: 0.7795 MB / 455 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.3221, allocations: 22.98 kB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.3221, allocations: 23.42 kB / 455.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3221, allocations: 4 kB / 455.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.009635/0.3318, allocations: 4.216 MB / 459.3 MB, free: 10.33 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.746562503045425]