Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001284/0.001284, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.00134/0.00134, allocations: 185.9 kB / 23.7 MB, free: 4.191 MB / 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.526/1.526, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2908, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004056/0.2949, allocations: 2.604 MB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2961, allocations: 0.6154 MB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2962, allocations: 4 kB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2964, allocations: 47.5 kB / 426.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.2966, allocations: 99.19 kB / 426.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2969, allocations: 87.89 kB / 426.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.2973, allocations: 378.5 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.2975, allocations: 79.02 kB / 427 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2977, allocations: 155.4 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2979, allocations: 139.4 kB / 427.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.298, allocations: 36 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.298, allocations: 36 kB / 427.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.2981, allocations: 75.69 kB / 427.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2983, allocations: 143.4 kB / 427.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.2987, allocations: 377 kB / 427.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2987, allocations: 0 / 427.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2987, allocations: 0 / 427.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2987, allocations: 0 / 427.9 MB, free: 9.59 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001465/0.3002, allocations: 0.5888 MB / 428.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3002, allocations: 11.97 kB / 428.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.3003, allocations: 32.75 kB / 428.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.3007, allocations: 219 kB / 428.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3007, allocations: 20.88 kB / 428.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.3008, allocations: 32.3 kB / 428.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.3015, allocations: 358.3 kB / 429.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3015, allocations: 0 / 429.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.3015, allocations: 8 kB / 429.2 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3015, allocations: 8 kB / 429.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009051/0.3024, allocations: 249.5 kB / 429.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3042, allocations: 0.9307 MB / 430.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.305, allocations: 206.5 kB / 430.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.3053, allocations: 84.78 kB / 430.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3053, allocations: 4 kB / 430.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/0.3058, allocations: 217.3 kB / 430.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3058, allocations: 4 kB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002102/0.3079, allocations: 433.9 kB / 431.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.308, allocations: 114.8 kB / 431.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3084, allocations: 261 kB / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3084, allocations: 29.7 kB / 431.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3086, allocations: 208 kB / 431.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.3086, allocations: 47.62 kB / 431.9 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3087, allocations: 49.94 kB / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3089, allocations: 334.8 kB / 432.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3093, allocations: 125.9 kB / 432.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3098, allocations: 287.1 kB / 432.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.3105, allocations: 301 kB / 433 MB, free: 4.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3105, allocations: 4 kB / 433 MB, free: 4.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001232/0.3117, allocations: 453.5 kB / 433.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.3118, allocations: 33.7 kB / 433.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3118, allocations: 4 kB / 433.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.3121, allocations: 76.89 kB / 433.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3123, allocations: 47.84 kB / 433.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.3147, allocations: 1.577 MB / 435.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3151, allocations: 51.94 kB / 435.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3151, allocations: 20 kB / 435.3 MB, free: 1.711 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.3153, allocations: 141.7 kB / 435.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3153, allocations: 31.91 kB / 435.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.3154, allocations: 21.72 kB / 435.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3154, allocations: 0 / 435.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3154, allocations: 3.938 kB / 435.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3154, allocations: 3.984 kB / 435.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3156, allocations: 201.2 kB / 435.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3156, allocations: 3.938 kB / 435.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3157, allocations: 15.98 kB / 435.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.316, allocations: 72.73 kB / 435.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.316, allocations: 8 kB / 435.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.3183, allocations: 1.57 MB / 437.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3183, allocations: 4 kB / 437.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3194, allocations: 313.9 kB / 437.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3195, allocations: 35.78 kB / 437.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.3195, allocations: 7.984 kB / 437.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3198, allocations: 27.97 kB / 437.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3198, allocations: 23.91 kB / 437.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.3199, allocations: 11.98 kB / 437.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.3201, allocations: 184.5 kB / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3201, allocations: 0 / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.3205, allocations: 75.89 kB / 438 MB, free: 14.81 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.3207, allocations: 103.2 kB / 438.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.3217, allocations: 439.4 kB / 438.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3217, allocations: 0 / 438.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.3222, allocations: 219.4 kB / 438.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3225, allocations: 43.02 kB / 438.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3235, allocations: 464.3 kB / 439.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3236, allocations: 146.9 kB / 439.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.3237, allocations: 22.3 kB / 439.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3238, allocations: 19.44 kB / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3238, allocations: 0 / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Templates: time 0.00892/0.3327, allocations: 4.328 MB / 443.7 MB, free: 9.031 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.784750634804368]