Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001544/0.001544, allocations: 114 kB / 21.17 MB, free: 0.7812 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.001711/0.001711, allocations: 216.1 kB / 24.47 MB, free: 4.359 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.474/1.474, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [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.001919/0.001919, allocations: 71.83 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004115/0.2892, allocations: 2.637 MB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2906, allocations: 0.705 MB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.2907, allocations: 11.94 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.2909, allocations: 39.58 kB / 435.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.2912, allocations: 83.31 kB / 435.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.2914, allocations: 87.83 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.2917, allocations: 306.6 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2919, allocations: 72.94 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2921, allocations: 115.6 kB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2923, allocations: 127.5 kB / 436.3 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.2923, allocations: 28 kB / 436.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.2924, allocations: 24 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.2924, allocations: 55.77 kB / 436.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.2926, allocations: 135.3 kB / 436.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.2929, allocations: 284.3 kB / 436.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2929, allocations: 0 / 436.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2929, allocations: 0 / 436.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2929, allocations: 3.938 kB / 436.8 MB, free: 2.656 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001037/0.294, allocations: 0.573 MB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.294, allocations: 12.03 kB / 437.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.2941, allocations: 28.75 kB / 437.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.2945, allocations: 260.4 kB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2945, allocations: 16.94 kB / 437.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.2946, allocations: 24.38 kB / 437.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.295, allocations: 225.2 kB / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.295, allocations: 0 / 437.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2951, allocations: 12 kB / 437.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2951, allocations: 8 kB / 437.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.2955, allocations: 186.2 kB / 438.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.2971, allocations: 0.9008 MB / 439 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.2977, allocations: 202.7 kB / 439.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.298, allocations: 124.7 kB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.298, allocations: 3.938 kB / 439.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2981, allocations: 38.56 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2981, allocations: 0 / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001846/0.2999, allocations: 0.5538 MB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.3, allocations: 51.41 kB / 440 MB, free: 15.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.3002, allocations: 235 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3002, allocations: 25.7 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3004, allocations: 172.1 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3004, allocations: 59.47 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.3005, allocations: 41.72 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3006, allocations: 334.8 kB / 440.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3008, allocations: 64.83 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.301, allocations: 110 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3014, allocations: 189.3 kB / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3014, allocations: 0 / 441.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008831/0.3023, allocations: 342.1 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3023, allocations: 4 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3023, allocations: 4 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.3027, allocations: 84.83 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3028, allocations: 47.84 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.3059, allocations: 2.006 MB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.306, allocations: 35.89 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3061, allocations: 4 kB / 443.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001723/0.3062, allocations: 148.1 kB / 443.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001152/0.3063, allocations: 95.08 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002067/0.3065, allocations: 152.1 kB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.287e-06/0.3066, allocations: 4 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003526/0.3069, allocations: 218.2 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.3069, allocations: 6.812 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.3069, allocations: 0 / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-05/0.307, allocations: 28.84 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3072, allocations: 39.97 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.3083, allocations: 1.426 MB / 445.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3084, allocations: 11.95 kB / 445.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3084, allocations: 4 kB / 445.8 MB, free: 8.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.3085, allocations: 200.6 kB / 446 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.3086, allocations: 27.8 kB / 446 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.3086, allocations: 17.53 kB / 446 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3086, allocations: 7.922 kB / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3086, allocations: 0 / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3086, allocations: 0 / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3098, allocations: 0.6214 MB / 446.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3098, allocations: 4 kB / 446.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3099, allocations: 27.92 kB / 446.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.3102, allocations: 72.81 kB / 446.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3102, allocations: 7.984 kB / 446.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.3127, allocations: 1.928 MB / 448.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3128, allocations: 0 / 448.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009239/0.3137, allocations: 431.6 kB / 449.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.3137, allocations: 109 kB / 449.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.3138, allocations: 3.938 kB / 449.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.314, allocations: 19.98 kB / 449.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.314, allocations: 11.98 kB / 449.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.314, allocations: 4 kB / 449.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.3142, allocations: 160.6 kB / 449.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3142, allocations: 0 / 449.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.3147, allocations: 123.7 kB / 449.6 MB, free: 4.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.3148, allocations: 111.2 kB / 449.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.316, allocations: 0.5198 MB / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.316, allocations: 4.188 kB / 450.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.3163, allocations: 194.6 kB / 450.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3167, allocations: 36.59 kB / 450.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3177, allocations: 0.5446 MB / 451 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3181, allocations: 0.7401 MB / 451.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.3182, allocations: 23.44 kB / 451.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3182, allocations: 0 / 451.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.005813/0.324, allocations: 3.529 MB / 455.3 MB, free: 15.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.486788348760456]