Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.004875/0.004875, allocations: 109.4 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 259 MB, free: 8.023 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 53.36 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004645/0.2845, allocations: 2.837 MB / 436 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.286, allocations: 0.6894 MB / 436.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.2862, allocations: 4 kB / 436.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.2864, allocations: 47.56 kB / 436.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.2867, allocations: 95.19 kB / 436.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.287, allocations: 83.83 kB / 436.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.2876, allocations: 374.5 kB / 437.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.2878, allocations: 91.34 kB / 437.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.288, allocations: 151.5 kB / 437.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2883, allocations: 167.3 kB / 437.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.2884, allocations: 36 kB / 437.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.2884, allocations: 32 kB / 437.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.2885, allocations: 67.77 kB / 437.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2887, allocations: 167.2 kB / 438 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005047/0.2892, allocations: 383.7 kB / 438.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2892, allocations: 0 / 438.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2892, allocations: 3.938 kB / 438.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2893, allocations: 4 kB / 438.4 MB, free: 1.773 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.001416/0.2907, allocations: 0.5859 MB / 439 MB, free: 1.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2907, allocations: 8.031 kB / 439 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2908, allocations: 36.7 kB / 439 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.2912, allocations: 222.9 kB / 439.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.2913, allocations: 20.88 kB / 439.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.2913, allocations: 24.38 kB / 439.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.292, allocations: 302.9 kB / 439.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2921, allocations: 0 / 439.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.2921, allocations: 8 kB / 439.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2921, allocations: 4 kB / 439.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.2929, allocations: 261.5 kB / 439.8 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.2946, allocations: 1.043 MB / 440.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.2954, allocations: 202.5 kB / 441.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.2957, allocations: 88.73 kB / 441.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2957, allocations: 8.016 kB / 441.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.2962, allocations: 169.8 kB / 441.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2962, allocations: 0 / 441.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001974/0.2982, allocations: 445.8 kB / 441.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2983, allocations: 102.8 kB / 441.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.2986, allocations: 289.8 kB / 442.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.2986, allocations: 33.7 kB / 442.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.2988, allocations: 200.1 kB / 442.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.2988, allocations: 43.62 kB / 442.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2989, allocations: 57.89 kB / 442.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.2992, allocations: 326.8 kB / 442.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.2995, allocations: 100.1 kB / 442.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.2999, allocations: 207 kB / 443.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.3007, allocations: 300 kB / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3007, allocations: 3.938 kB / 443.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001204/0.3019, allocations: 423.8 kB / 443.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.3019, allocations: 33.7 kB / 443.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3019, allocations: 4.094 kB / 443.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.3023, allocations: 80.73 kB / 443.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3025, allocations: 47.91 kB / 444 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.305, allocations: 1.608 MB / 445.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.3053, allocations: 55.73 kB / 445.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.3053, allocations: 12 kB / 445.6 MB, free: 10 MB / 350.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.0001784/0.3055, allocations: 153.7 kB / 445.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.3056, allocations: 27.81 kB / 445.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.3056, allocations: 25.7 kB / 445.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3056, allocations: 0 / 445.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3056, allocations: 0 / 445.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3056, allocations: 0 / 445.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.3059, allocations: 272.5 kB / 446.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3059, allocations: 4 kB / 446.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3061, allocations: 32.09 kB / 446.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.3063, allocations: 64.81 kB / 446.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3064, allocations: 3.984 kB / 446.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.3087, allocations: 1.604 MB / 447.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3087, allocations: 4.031 kB / 447.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.3097, allocations: 301.6 kB / 448.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.672e-05/0.3098, allocations: 35.83 kB / 448.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3099, allocations: 0 / 448.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3101, allocations: 39.95 kB / 448.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.3102, allocations: 15.97 kB / 448.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3102, allocations: 8 kB / 448.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.3105, allocations: 205.1 kB / 448.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 448.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.3109, allocations: 75.89 kB / 448.5 MB, free: 6.961 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.0001447/0.3111, allocations: 115.1 kB / 448.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3121, allocations: 405.1 kB / 449 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3121, allocations: 0 / 449 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.3126, allocations: 219.1 kB / 449.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3129, allocations: 52.25 kB / 449.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.314, allocations: 0.4943 MB / 449.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3145, allocations: 0.7518 MB / 450.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.3146, allocations: 19.44 kB / 450.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3146, allocations: 3.938 kB / 450.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Templates: time 0.007649/0.3222, allocations: 4.445 MB / 455 MB, free: 400 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.331063730176538]