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.0008171/0.0008171, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001947, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000719/0.000719, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001727, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9657/0.9657, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.066, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.645e-05, allocations: 5.688 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003803/0.003829, allocations: 3.399 MB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.005317, allocations: 0.8762 MB / 249 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.005519, allocations: 11.94 kB / 249 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.005644, allocations: 71.3 kB / 249.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.00587, allocations: 134.8 kB / 249.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.006222, allocations: 151.7 kB / 249.4 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.006829, allocations: 0.5018 MB / 249.9 MB, free: 9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.007101, allocations: 129.9 kB / 250 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.007637, allocations: 331.9 kB / 250.3 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.007851, allocations: 159.5 kB / 250.5 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.007902, allocations: 48 kB / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.008002, allocations: 52 kB / 250.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.008195, allocations: 75.75 kB / 250.7 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.008305, allocations: 127.8 kB / 250.8 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.008687, allocations: 295 kB / 251.1 MB, free: 7.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.008699, allocations: 4 kB / 251.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0087, allocations: 0 / 251.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.008714, allocations: 0 / 251.1 MB, free: 7.801 MB / 250.7 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.0009689/0.009683, allocations: 0.6907 MB / 251.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.00972, allocations: 8.031 kB / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.009959, allocations: 142 kB / 251.9 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.01024, allocations: 218 kB / 252.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.01033, allocations: 25.38 kB / 252.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.01037, allocations: 36.38 kB / 252.2 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.01071, allocations: 390.2 kB / 252.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01072, allocations: 3.938 kB / 252.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.01074, allocations: 19.98 kB / 252.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.01075, allocations: 8 kB / 252.6 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01088, allocations: 94.91 kB / 252.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01205, allocations: 1.042 MB / 253.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.01229, allocations: 134.5 kB / 253.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.0125, allocations: 32.78 kB / 253.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.01253, allocations: 8 kB / 253.9 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01255, allocations: 34.56 kB / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.01255, allocations: 0 / 253.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006381/0.01319, allocations: 335.2 kB / 254.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.01321, allocations: 59.41 kB / 254.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01336, allocations: 252.8 kB / 254.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.01338, allocations: 29.7 kB / 254.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.01347, allocations: 220.6 kB / 254.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.0135, allocations: 59.52 kB / 254.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.01355, allocations: 49.64 kB / 254.9 MB, free: 3.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.01364, allocations: 342.7 kB / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.01368, allocations: 27.92 kB / 255.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.01376, allocations: 101.4 kB / 255.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01389, allocations: 156 kB / 255.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0139, allocations: 0 / 255.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002937/0.01419, allocations: 226.9 kB / 255.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.0142, allocations: 4 kB / 255.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01421, allocations: 7.984 kB / 255.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.0145, allocations: 121.9 kB / 255.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.056e-05/0.01459, allocations: 39.92 kB / 255.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.0166, allocations: 2.722 MB / 258.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01671, allocations: 31.78 kB / 258.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01672, allocations: 8 kB / 258.7 MB, free: 15.67 MB / 266.7 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 9.095e-05/0.01681, allocations: 126 kB / 258.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.01684, allocations: 31.84 kB / 258.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.01687, allocations: 30.11 kB / 258.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01687, allocations: 0 / 258.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01687, allocations: 0 / 258.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.01688, allocations: 4 kB / 258.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.01704, allocations: 165.7 kB / 259 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01704, allocations: 0 / 259 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.01708, allocations: 12 kB / 259.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.0171, allocations: 27.75 kB / 259.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.01732, allocations: 113.6 kB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01733, allocations: 0 / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.01861, allocations: 2.664 MB / 261.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01862, allocations: 0 / 261.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.01886, allocations: 264.7 kB / 262.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01888, allocations: 4 kB / 262.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.01897, allocations: 20.02 kB / 262.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.01902, allocations: 23.91 kB / 262.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01903, allocations: 0 / 262.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.491e-05/0.0191, allocations: 90.77 kB / 262.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0191, allocations: 0 / 262.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000315/0.01942, allocations: 99.78 kB / 262.3 MB, free: 11.79 MB / 266.7 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 9.729e-05/0.01951, allocations: 84.42 kB / 262.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.01991, allocations: 396.8 kB / 262.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.01992, allocations: 4 kB / 262.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.02011, allocations: 318 kB / 263.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.02043, allocations: 356.8 kB / 263.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.02275, allocations: 0.5552 MB / 264 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.0228, allocations: 96.3 kB / 264.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.02287, allocations: 22.28 kB / 264.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.02297, allocations: 99.3 kB / 264.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02297, allocations: 0 / 264.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of Templates: time 0.006328/0.0293, allocations: 4.078 MB / 268.3 MB, free: 5.699 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5655039343982935]