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.001429/0.001429, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001555/0.001555, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.503/1.503, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002062/0.002062, allocations: 67.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2657, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00429/0.27, allocations: 2.824 MB / 434.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2713, allocations: 0.6855 MB / 435.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.2714, allocations: 4 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.2716, allocations: 47.58 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.2718, allocations: 91.19 kB / 435.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.2721, allocations: 83.83 kB / 435.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.2725, allocations: 382.5 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.2727, allocations: 90.94 kB / 436.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2729, allocations: 139.5 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.2732, allocations: 171.2 kB / 436.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.2732, allocations: 32 kB / 436.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.2733, allocations: 36 kB / 436.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.2734, allocations: 71.81 kB / 436.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2735, allocations: 167.2 kB / 436.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.274, allocations: 376.4 kB / 437.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.274, allocations: 4 kB / 437.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.274, allocations: 4 kB / 437.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.274, allocations: 0 / 437.2 MB, free: 2.156 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.001417/0.2754, allocations: 0.6612 MB / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2755, allocations: 8.031 kB / 437.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.2756, allocations: 36.7 kB / 438 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.276, allocations: 276.8 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.276, allocations: 20.94 kB / 438.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.2761, allocations: 24.38 kB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.2768, allocations: 307.7 kB / 438.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2769, allocations: 4 kB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.2769, allocations: 8 kB / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2769, allocations: 8 kB / 438.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.2778, allocations: 257.4 kB / 438.8 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.2797, allocations: 1.09 MB / 439.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/0.2806, allocations: 198.5 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.2809, allocations: 92.81 kB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2809, allocations: 4 kB / 440.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/0.2814, allocations: 161.9 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.2814, allocations: 0 / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002248/0.2837, allocations: 0.5146 MB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.2838, allocations: 102.8 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.2841, allocations: 290.6 kB / 441.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2841, allocations: 29.7 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.2843, allocations: 200 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.2843, allocations: 39.69 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.2844, allocations: 53.89 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2846, allocations: 334.8 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.285, allocations: 96.16 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.2854, allocations: 202.6 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/0.2861, allocations: 310.4 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2862, allocations: 3.938 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001274/0.2874, allocations: 415.1 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.2875, allocations: 44.81 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.2875, allocations: 8.125 kB / 443 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.2878, allocations: 72.69 kB / 443 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2881, allocations: 51.89 kB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.2907, allocations: 1.719 MB / 444.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.291, allocations: 55.73 kB / 444.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.2911, allocations: 8 kB / 444.9 MB, free: 9.949 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.000176/0.2912, allocations: 153.7 kB / 445 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.2913, allocations: 27.81 kB / 445.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.2914, allocations: 29.7 kB / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2914, allocations: 0 / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2914, allocations: 0 / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2914, allocations: 0 / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.2917, allocations: 301.4 kB / 445.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2917, allocations: 0 / 445.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2918, allocations: 23.97 kB / 445.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.2921, allocations: 64.81 kB / 445.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2921, allocations: 4 kB / 445.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.2945, allocations: 1.712 MB / 447.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2945, allocations: 3.984 kB / 447.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2956, allocations: 310 kB / 447.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2957, allocations: 112.9 kB / 447.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.2958, allocations: 8 kB / 447.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.296, allocations: 31.95 kB / 447.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2961, allocations: 19.98 kB / 447.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2962, allocations: 7.984 kB / 447.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.2964, allocations: 201.9 kB / 447.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 447.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.2968, allocations: 79.89 kB / 447.9 MB, free: 6.641 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.0002378/0.2971, allocations: 107.2 kB / 448 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.2982, allocations: 402.1 kB / 448.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2982, allocations: 0 / 448.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.2987, allocations: 226.5 kB / 448.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.299, allocations: 41.38 kB / 448.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.3001, allocations: 483.5 kB / 449.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3005, allocations: 0.748 MB / 449.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.515e-05/0.3006, allocations: 26.28 kB / 449.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.3007, allocations: 19.44 kB / 450 MB, free: 4.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3007, allocations: 4 kB / 450 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Templates: time 0.009961/0.3106, allocations: 4.365 MB / 454.3 MB, free: 192 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.687565729022026]