Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 51.91 kB / 368.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3036, allocations: 52.13 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005639/0.3092, allocations: 3.413 MB / 424.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.3108, allocations: 0.8182 MB / 425.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.311, allocations: 4 kB / 425.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3112, allocations: 67.36 kB / 425.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.3114, allocations: 123 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.3118, allocations: 139.8 kB / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.3125, allocations: 0.4902 MB / 425.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.3127, allocations: 125 kB / 426.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.3131, allocations: 183.3 kB / 426.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3134, allocations: 211.1 kB / 426.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.3135, allocations: 48 kB / 426.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.3136, allocations: 48 kB / 426.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.3137, allocations: 91.69 kB / 426.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.3139, allocations: 223 kB / 426.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.3146, allocations: 0.5655 MB / 427.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3146, allocations: 3.984 kB / 427.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3146, allocations: 0 / 427.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3146, allocations: 4 kB / 427.4 MB, free: 8.504 MB / 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.001294/0.3159, allocations: 0.7054 MB / 428.1 MB, free: 7.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3159, allocations: 8.031 kB / 428.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.316, allocations: 44.66 kB / 428.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.3166, allocations: 328.8 kB / 428.5 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.3166, allocations: 25.38 kB / 428.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.3167, allocations: 36.12 kB / 428.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.3174, allocations: 390.1 kB / 428.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3175, allocations: 0 / 428.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.3175, allocations: 16 kB / 429 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.3175, allocations: 8 kB / 429 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007151/0.3182, allocations: 303.7 kB / 429.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3207, allocations: 1.44 MB / 430.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.3213, allocations: 230.7 kB / 430.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3215, allocations: 84.81 kB / 431 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3216, allocations: 0 / 431 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.3216, allocations: 38.56 kB / 431 MB, free: 4.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3216, allocations: 0 / 431 MB, free: 4.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002231/0.3238, allocations: 0.755 MB / 431.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3239, allocations: 51.41 kB / 431.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.3243, allocations: 319.2 kB / 432.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3243, allocations: 33.7 kB / 432.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3245, allocations: 224.2 kB / 432.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.3245, allocations: 63.47 kB / 432.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.3246, allocations: 49.66 kB / 432.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3248, allocations: 346.8 kB / 432.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.325, allocations: 79.97 kB / 432.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3253, allocations: 161.4 kB / 433.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.3258, allocations: 245.2 kB / 433.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3258, allocations: 4 kB / 433.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009746/0.3268, allocations: 415 kB / 433.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3268, allocations: 8 kB / 433.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3268, allocations: 4.062 kB / 433.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.3272, allocations: 121.6 kB / 433.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.3274, allocations: 35.98 kB / 433.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.3319, allocations: 3.576 MB / 437.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3321, allocations: 39.77 kB / 437.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3321, allocations: 12 kB / 437.5 MB, free: 13.71 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.0001784/0.3323, allocations: 153.7 kB / 437.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.3324, allocations: 39.69 kB / 437.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.3324, allocations: 30.36 kB / 437.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3324, allocations: 4 kB / 437.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3325, allocations: 0 / 437.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3325, allocations: 0 / 437.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.3329, allocations: 369.3 kB / 438.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3329, allocations: 0 / 438.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.333, allocations: 16.11 kB / 438.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/0.3333, allocations: 121.6 kB / 438.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3333, allocations: 4 kB / 438.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.3372, allocations: 3.463 MB / 441.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3372, allocations: 4 kB / 441.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.3381, allocations: 443.8 kB / 442.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.3382, allocations: 108.9 kB / 442.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3382, allocations: 4 kB / 442.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3384, allocations: 23.92 kB / 442.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.3385, allocations: 23.97 kB / 442.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3385, allocations: 4 kB / 442.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.3387, allocations: 214 kB / 442.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3387, allocations: 4 kB / 442.5 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.3392, allocations: 99.78 kB / 442.6 MB, free: 8.23 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.0001516/0.3394, allocations: 107.8 kB / 442.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3405, allocations: 0.5075 MB / 443.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3405, allocations: 0 / 443.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.341, allocations: 333.7 kB / 443.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3414, allocations: 51.69 kB / 443.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3425, allocations: 0.5894 MB / 444.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.3429, allocations: 0.7756 MB / 445 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.784e-05/0.343, allocations: 26.97 kB / 445 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3431, allocations: 23.42 kB / 445 MB, free: 5.727 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3431, allocations: 0 / 445 MB, free: 5.727 MB / 350.1 MB Notification: Performance of Templates: time 0.008959/0.352, allocations: 4.132 MB / 449.2 MB, free: 1.625 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.545773288235068]