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.00206/0.00206, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.003267/0.003267, allocations: 219.2 kB / 23.73 MB, free: 4.16 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.00173/0.00173, allocations: 55.91 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.324, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004994/0.329, allocations: 3.127 MB / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3306, allocations: 0.826 MB / 435.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.3308, allocations: 8 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.331, allocations: 71.3 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3313, allocations: 123 kB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.3317, allocations: 151.8 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.3323, allocations: 0.4902 MB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3326, allocations: 129 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3329, allocations: 187.4 kB / 436.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3331, allocations: 175.1 kB / 436.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.3332, allocations: 48 kB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3333, allocations: 56 kB / 437 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.3334, allocations: 107.6 kB / 437.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.3335, allocations: 175.2 kB / 437.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3342, allocations: 0.5706 MB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3342, allocations: 0 / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.237e-06/0.3342, allocations: 4 kB / 437.8 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3342, allocations: 0 / 437.8 MB, free: 496 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.001242/0.3354, allocations: 0.6417 MB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3355, allocations: 8.031 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.3357, allocations: 56.64 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.3362, allocations: 266.8 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.3362, allocations: 25.38 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.3362, allocations: 40.12 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.337, allocations: 489 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.337, allocations: 0 / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3371, allocations: 16 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3371, allocations: 8 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.3377, allocations: 303.8 kB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.3399, allocations: 1.233 MB / 440.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.3406, allocations: 226.7 kB / 441.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.3408, allocations: 84.81 kB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3409, allocations: 0 / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3409, allocations: 38.56 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.041e-06/0.3409, allocations: 0 / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002192/0.3431, allocations: 0.6022 MB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3431, allocations: 55.34 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.3435, allocations: 285.8 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3435, allocations: 29.7 kB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3437, allocations: 240.1 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.3437, allocations: 55.53 kB / 442.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.3438, allocations: 57.66 kB / 442.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.344, allocations: 338.8 kB / 442.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3442, allocations: 79.95 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.3445, allocations: 165.3 kB / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.3449, allocations: 248 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3449, allocations: 0 / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001029/0.346, allocations: 423 kB / 443.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.346, allocations: 12.06 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.346, allocations: 4 kB / 443.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.3465, allocations: 117.6 kB / 443.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3466, allocations: 39.97 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.3509, allocations: 3.296 MB / 447.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3512, allocations: 43.95 kB / 447.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3512, allocations: 12 kB / 447.3 MB, free: 6.488 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.0001804/0.3514, allocations: 145.8 kB / 447.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.3514, allocations: 27.8 kB / 447.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.3515, allocations: 30.11 kB / 447.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3515, allocations: 0 / 447.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3515, allocations: 7.938 kB / 447.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3515, allocations: 3.984 kB / 447.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.3518, allocations: 249.1 kB / 447.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3518, allocations: 8 kB / 447.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.3519, allocations: 8 kB / 447.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.3522, allocations: 109.6 kB / 447.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3523, allocations: 7.984 kB / 447.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.356, allocations: 3.195 MB / 451.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.356, allocations: 3.938 kB / 451.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.3569, allocations: 428.9 kB / 451.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.357, allocations: 27.81 kB / 451.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.357, allocations: 0 / 451.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3572, allocations: 35.91 kB / 451.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3573, allocations: 15.91 kB / 451.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3573, allocations: 8 kB / 451.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.3575, allocations: 201.2 kB / 451.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 0 / 451.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.358, allocations: 99.78 kB / 451.9 MB, free: 1.633 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.0001396/0.3582, allocations: 103.2 kB / 452 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.3593, allocations: 0.5146 MB / 452.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3593, allocations: 3.938 kB / 452.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.3598, allocations: 337.2 kB / 452.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3602, allocations: 44.09 kB / 452.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3614, allocations: 0.5637 MB / 453.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3615, allocations: 172.8 kB / 453.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.284e-05/0.3616, allocations: 22.28 kB / 453.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.3617, allocations: 19.44 kB / 453.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3617, allocations: 0 / 453.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.009672/0.3714, allocations: 3.994 MB / 457.6 MB, free: 11.82 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.8699410650879145]