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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002325/0.002325, allocations: 180 kB / 8.153 MB, free: 2.184 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.718/1.718, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001206/0.001206, allocations: 99.91 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.41e-05, allocations: 4 kB / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2399, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3613, allocations: 76.91 MB / 438.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.3616, allocations: 75.95 kB / 438.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01811/0.3798, allocations: 3.806 MB / 442.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.3799, allocations: 7.984 kB / 442.6 MB, free: 5.32 MB / 330.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.001047/0.3809, allocations: 0.4933 MB / 443.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.381, allocations: 16.03 kB / 443.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.924e-05/0.3811, allocations: 27.62 kB / 443.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3816, allocations: 259 kB / 443.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3816, allocations: 4 kB / 443.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.3817, allocations: 16 kB / 443.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004811/0.3822, allocations: 141 kB / 443.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.3827, allocations: 163.1 kB / 443.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3827, allocations: 0 / 443.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3828, allocations: 0 / 443.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3828, allocations: 8 kB / 443.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.3855, allocations: 0.9279 MB / 444.7 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.3861, allocations: 156.3 kB / 444.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.3865, allocations: 108.8 kB / 444.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3866, allocations: 0 / 444.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3866, allocations: 38.56 kB / 445 MB, free: 2.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/0.3866, allocations: 0 / 445 MB, free: 2.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001072/0.3877, allocations: 224.6 kB / 445.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3878, allocations: 55.41 kB / 445.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3881, allocations: 171.8 kB / 445.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3881, allocations: 25.7 kB / 445.4 MB, free: 2.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3882, allocations: 218.2 kB / 445.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.3883, allocations: 51.3 kB / 445.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.3883, allocations: 7.938 kB / 445.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3885, allocations: 322.7 kB / 446 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3886, allocations: 40 kB / 446.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3888, allocations: 97.94 kB / 446.2 MB, free: 1.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.389, allocations: 47.98 kB / 446.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.389, allocations: 0 / 446.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001089/0.3901, allocations: 270.7 kB / 446.5 MB, free: 1.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.3904, allocations: 0.6156 MB / 447.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3905, allocations: 4 kB / 447.1 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.3908, allocations: 48.84 kB / 447.1 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.3911, allocations: 43.91 kB / 447.2 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.3928, allocations: 0.6978 MB / 447.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3931, allocations: 21.33 kB / 447.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3931, allocations: 5.875 kB / 447.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3931, allocations: 4 kB / 447.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004706/0.3936, allocations: 154.4 kB / 448.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3936, allocations: 0 / 448.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.3938, allocations: 24.84 kB / 448.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3941, allocations: 35.98 kB / 448.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.3955, allocations: 1.265 MB / 449.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.3957, allocations: 15.75 kB / 449.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3957, allocations: 8 kB / 449.4 MB, free: 14.11 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 () * 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.0001086/0.3958, allocations: 33.64 kB / 449.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.3959, allocations: 19.88 kB / 449.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.396, allocations: 22.44 kB / 449.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.396, allocations: 4 kB / 449.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.396, allocations: 0 / 449.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3961, allocations: 0 / 449.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3976, allocations: 0.5424 MB / 450 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3977, allocations: 0 / 450 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.3979, allocations: 31.92 kB / 450.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.3982, allocations: 46.27 kB / 450.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3982, allocations: 0 / 450.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.4021, allocations: 1.734 MB / 451.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.4022, allocations: 0.5625 kB / 451.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001168/0.4034, allocations: 387.8 kB / 452.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4035, allocations: 104.8 kB / 452.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.4036, allocations: 7.984 kB / 452.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.4039, allocations: 20.92 kB / 452.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.404, allocations: 4 kB / 452.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.404, allocations: 4 kB / 452.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001998/0.4042, allocations: 147.3 kB / 452.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007214/0.405, allocations: 107.6 kB / 452.6 MB, free: 10.71 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 () * 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.0002103/0.4052, allocations: 107.2 kB / 452.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.4068, allocations: 399.8 kB / 453.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4068, allocations: 0 / 453.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009939/0.4078, allocations: 246.5 kB / 453.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4083, allocations: 21.02 kB / 453.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.4126, allocations: 0.7241 MB / 454.1 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.4132, allocations: 0.7661 MB / 454.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.4133, allocations: 0 / 454.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of Templates: time 0.008104/0.4214, allocations: 3.296 MB / 458.2 MB, free: 5.105 MB / 346.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