Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001516, allocations: 187.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.336, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4643, allocations: 77.73 MB / 452.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4646, allocations: 79.95 kB / 452.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.4829, allocations: 4.13 MB / 456.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4829, allocations: 0 / 456.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.483, allocations: 4 kB / 456.5 MB, free: 14.82 MB / 346.7 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.001095/0.4841, allocations: 0.5223 MB / 457 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4841, allocations: 8.031 kB / 457 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.4842, allocations: 23.72 kB / 457 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4847, allocations: 247.7 kB / 457.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.4847, allocations: 16.91 kB / 457.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.4848, allocations: 23.95 kB / 457.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.4855, allocations: 228.9 kB / 457.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4855, allocations: 0 / 457.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.4856, allocations: 4 kB / 457.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4856, allocations: 8 kB / 457.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.4863, allocations: 190.2 kB / 457.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4889, allocations: 0.9787 MB / 458.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.49, allocations: 222.7 kB / 458.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.4901, allocations: 4 kB / 458.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4901, allocations: 50.39 kB / 459 MB, free: 12.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/0.4901, allocations: 3.938 kB / 459 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003249/0.4934, allocations: 0.5852 MB / 459.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4935, allocations: 51.41 kB / 459.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4938, allocations: 206.2 kB / 459.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4939, allocations: 25.7 kB / 459.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.494, allocations: 234.2 kB / 460.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.4941, allocations: 47.27 kB / 460.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.4941, allocations: 8 kB / 460.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4943, allocations: 322.8 kB / 460.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.4946, allocations: 63.97 kB / 460.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.4949, allocations: 116.4 kB / 460.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.4953, allocations: 80.44 kB / 460.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4953, allocations: 0 / 460.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001443/0.4967, allocations: 331.9 kB / 461 MB, free: 9.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.497, allocations: 0.6161 MB / 461.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4971, allocations: 4 kB / 461.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.4977, allocations: 84.8 kB / 461.7 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.498, allocations: 39.97 kB / 461.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.4997, allocations: 0.7007 MB / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.5001, allocations: 35.64 kB / 462.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5001, allocations: 8 kB / 462.5 MB, free: 8.418 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5001, allocations: 4.938 kB / 462.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004845/0.5006, allocations: 183.4 kB / 462.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5006, allocations: 0 / 462.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.5008, allocations: 24.84 kB / 462.7 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.5011, allocations: 43.92 kB / 462.8 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.5025, allocations: 1.312 MB / 464.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.5026, allocations: 15.84 kB / 464.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.5027, allocations: 8 kB / 464.1 MB, free: 6.691 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.5029, allocations: 217.1 kB / 464.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.503, allocations: 19.72 kB / 464.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.5031, allocations: 25.52 kB / 464.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5031, allocations: 0 / 464.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5031, allocations: 0 / 464.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5031, allocations: 0 / 464.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.5036, allocations: 289.4 kB / 464.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5036, allocations: 3.938 kB / 464.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.5038, allocations: 27.98 kB / 464.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.5043, allocations: 80.8 kB / 464.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.5044, allocations: 4 kB / 464.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.5084, allocations: 1.784 MB / 466.5 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5084, allocations: 3.938 kB / 466.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.5102, allocations: 464.7 kB / 467 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5103, allocations: 104.9 kB / 467.1 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5104, allocations: 3.953 kB / 467.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.5107, allocations: 23.98 kB / 467.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.5108, allocations: 11.92 kB / 467.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.5108, allocations: 4 kB / 467.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.5111, allocations: 168.6 kB / 467.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5111, allocations: 4 kB / 467.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000723/0.5118, allocations: 111.7 kB / 467.4 MB, free: 3.148 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.512, allocations: 103.2 kB / 467.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.5138, allocations: 446.2 kB / 468 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5138, allocations: 4 kB / 468 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.5143, allocations: 207.2 kB / 468.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.5147, allocations: 32.66 kB / 468.2 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.5163, allocations: 0.6188 MB / 468.8 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.5167, allocations: 0.7484 MB / 469.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.5168, allocations: 15.44 kB / 469.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5168, allocations: 7.938 kB / 469.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of Templates: time 0.008026/0.5249, allocations: 3.351 MB / 472.9 MB, free: 13.53 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches