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.001476/0.001476, allocations: 178 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001074, allocations: 88.59 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.47e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3331, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4563, allocations: 76.97 MB / 439.3 MB, free: 9.328 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4566, allocations: 79.95 kB / 439.4 MB, free: 9.25 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.4745, allocations: 4.068 MB / 443.5 MB, free: 5.203 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4746, allocations: 0 / 443.5 MB, free: 5.203 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.4746, allocations: 8 kB / 443.5 MB, free: 5.195 MB / 331.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.000957/0.4756, allocations: 0.4901 MB / 444 MB, free: 4.664 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4756, allocations: 15.97 kB / 444 MB, free: 4.648 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.4757, allocations: 31.61 kB / 444 MB, free: 4.617 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.4762, allocations: 239.2 kB / 444.2 MB, free: 4.344 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4762, allocations: 8.344 kB / 444.3 MB, free: 4.336 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.4763, allocations: 15.95 kB / 444.3 MB, free: 4.32 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004264/0.4767, allocations: 149.1 kB / 444.4 MB, free: 4.176 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.4772, allocations: 169 kB / 444.6 MB, free: 4.004 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4772, allocations: 3.938 kB / 444.6 MB, free: 4 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.4772, allocations: 0 / 444.6 MB, free: 4 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.4773, allocations: 4 kB / 444.6 MB, free: 3.996 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.4797, allocations: 0.9203 MB / 445.5 MB, free: 3.008 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.4804, allocations: 164.7 kB / 445.7 MB, free: 2.84 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.4807, allocations: 111.3 kB / 445.8 MB, free: 2.734 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4808, allocations: 4 kB / 445.8 MB, free: 2.73 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.4808, allocations: 34.52 kB / 445.8 MB, free: 2.688 MB / 331.1 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.4808, allocations: 0 / 445.8 MB, free: 2.688 MB / 331.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009826/0.4818, allocations: 214.2 kB / 446 MB, free: 2.469 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4819, allocations: 59.41 kB / 446.1 MB, free: 2.398 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4821, allocations: 175.8 kB / 446.3 MB, free: 2.219 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.4822, allocations: 25.7 kB / 446.3 MB, free: 2.188 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4824, allocations: 234.2 kB / 446.5 MB, free: 1.957 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.4824, allocations: 51.2 kB / 446.6 MB, free: 1.906 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.4824, allocations: 0 / 446.6 MB, free: 1.906 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4826, allocations: 326.7 kB / 446.9 MB, free: 1.578 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4827, allocations: 44 kB / 446.9 MB, free: 1.535 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.4829, allocations: 86.67 kB / 447 MB, free: 1.43 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4831, allocations: 59.91 kB / 447.1 MB, free: 1.371 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4831, allocations: 0 / 447.1 MB, free: 1.371 MB / 331.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009927/0.4841, allocations: 266.8 kB / 447.3 MB, free: 1.105 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.4844, allocations: 0.6122 MB / 447.9 MB, free: 456 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4845, allocations: 0 / 447.9 MB, free: 456 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.4848, allocations: 56.83 kB / 448 MB, free: 396 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.4851, allocations: 39.97 kB / 448 MB, free: 356 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/0.4858, allocations: 0.5956 MB / 448.6 MB, free: 15.73 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4861, allocations: 19.83 kB / 448.6 MB, free: 15.71 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4861, allocations: 12.06 kB / 448.7 MB, free: 15.7 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4862, allocations: 8 kB / 448.7 MB, free: 15.69 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004116/0.4866, allocations: 136.6 kB / 448.8 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4866, allocations: 4 kB / 448.8 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.4867, allocations: 20.84 kB / 448.8 MB, free: 15.53 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.487, allocations: 47.92 kB / 448.9 MB, free: 15.48 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4883, allocations: 1.26 MB / 450.1 MB, free: 14.11 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.4885, allocations: 11.84 kB / 450.1 MB, free: 14.09 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4885, allocations: 4 kB / 450.1 MB, free: 14.09 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.4887, allocations: 122.2 kB / 450.3 MB, free: 13.96 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.4888, allocations: 19.75 kB / 450.3 MB, free: 13.95 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.4889, allocations: 21.95 kB / 450.3 MB, free: 13.93 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4889, allocations: 4 kB / 450.3 MB, free: 13.92 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4889, allocations: 0 / 450.3 MB, free: 13.92 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4889, allocations: 0 / 450.3 MB, free: 13.92 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4903, allocations: 0.5432 MB / 450.9 MB, free: 13.33 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4903, allocations: 4 kB / 450.9 MB, free: 13.33 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.4905, allocations: 16 kB / 450.9 MB, free: 13.31 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.4908, allocations: 57.16 kB / 450.9 MB, free: 13.26 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4908, allocations: 0 / 450.9 MB, free: 13.26 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/0.494, allocations: 1.699 MB / 452.6 MB, free: 11.45 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4941, allocations: 0 / 452.6 MB, free: 11.45 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4951, allocations: 372 kB / 453 MB, free: 11.06 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4952, allocations: 100.9 kB / 453.1 MB, free: 10.95 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.4953, allocations: 3.938 kB / 453.1 MB, free: 10.94 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.4956, allocations: 19.98 kB / 453.1 MB, free: 10.92 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4957, allocations: 15.94 kB / 453.1 MB, free: 10.91 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4957, allocations: 4 kB / 453.1 MB, free: 10.9 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4959, allocations: 139.4 kB / 453.3 MB, free: 10.77 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4959, allocations: 0 / 453.3 MB, free: 10.77 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.4966, allocations: 107.6 kB / 453.4 MB, free: 10.66 MB / 347.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.4969, allocations: 115.1 kB / 453.5 MB, free: 10.54 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0008271/0.4977, allocations: 313.9 kB / 453.8 MB, free: 10.22 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4977, allocations: 0 / 453.8 MB, free: 10.22 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008885/0.4986, allocations: 249.7 kB / 454 MB, free: 9.969 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.4991, allocations: 27.12 kB / 454.1 MB, free: 9.949 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.5028, allocations: 0.6948 MB / 454.8 MB, free: 9.227 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.5033, allocations: 0.7484 MB / 455.5 MB, free: 8.445 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.5034, allocations: 15.44 kB / 455.5 MB, free: 8.43 MB / 347.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5034, allocations: 0 / 455.5 MB, free: 8.43 MB / 347.1 MB Notification: Performance of Templates: time 0.009457/0.5128, allocations: 3.216 MB / 458.7 MB, free: 5.238 MB / 347.1 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