Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009364/0.0009364, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 245.3 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007664/0.0007664, allocations: 94.08 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002371, allocations: 12 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1866, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08548/0.2722, allocations: 79.7 MB / 488.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.2724, allocations: 83.94 kB / 488.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.2837, allocations: 4.33 MB / 492.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2837, allocations: 0 / 492.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.2837, allocations: 8 kB / 492.8 MB, free: 7.473 MB / 362.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.0007289/0.2844, allocations: 0.5186 MB / 493.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2845, allocations: 8.031 kB / 493.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.2846, allocations: 28.66 kB / 493.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2848, allocations: 260.3 kB / 493.6 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2849, allocations: 20.94 kB / 493.6 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.2849, allocations: 24.38 kB / 493.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.2853, allocations: 221.4 kB / 493.9 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2854, allocations: 192 / 493.9 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.2854, allocations: 15.94 kB / 493.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2854, allocations: 4 kB / 493.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2858, allocations: 194.2 kB / 494.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.2873, allocations: 0.97 MB / 495 MB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.2879, allocations: 214.7 kB / 495.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.2882, allocations: 136.7 kB / 495.4 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2882, allocations: 0 / 495.4 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2883, allocations: 38.5 kB / 495.4 MB, free: 4.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 9.71e-07/0.2883, allocations: 0 / 495.4 MB, free: 4.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001805/0.2901, allocations: 0.6278 MB / 496 MB, free: 3.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.2901, allocations: 59.34 kB / 496.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.2903, allocations: 223.1 kB / 496.3 MB, free: 3.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2904, allocations: 29.7 kB / 496.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.2905, allocations: 167.9 kB / 496.5 MB, free: 3.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.2905, allocations: 55.19 kB / 496.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.2905, allocations: 8 kB / 496.6 MB, free: 3.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2906, allocations: 326.8 kB / 496.9 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.2908, allocations: 63.95 kB / 497 MB, free: 3.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.291, allocations: 121.9 kB / 497.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2914, allocations: 189.1 kB / 497.3 MB, free: 2.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2914, allocations: 0 / 497.3 MB, free: 2.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008329/0.2922, allocations: 362.4 kB / 497.6 MB, free: 2.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.2923, allocations: 133.2 kB / 497.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2923, allocations: 0 / 497.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.2927, allocations: 96.78 kB / 497.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.2928, allocations: 39.92 kB / 497.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.2956, allocations: 1.955 MB / 499.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.2958, allocations: 23.88 kB / 499.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2958, allocations: 8 kB / 499.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.2958, allocations: 4 kB / 499.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002843/0.2961, allocations: 180.7 kB / 0.4883 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2961, allocations: 0 / 0.4883 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-05/0.2962, allocations: 24.84 kB / 0.4883 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2964, allocations: 47.92 kB / 0.4884 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008312/0.2972, allocations: 1.312 MB / 0.4897 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2973, allocations: 15.88 kB / 0.4897 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.2974, allocations: 12 kB / 0.4897 GB, free: 14.18 MB / 378.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 (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.0001436/0.2975, allocations: 209 kB / 0.4899 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2976, allocations: 23.78 kB / 0.4899 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.2976, allocations: 29.52 kB / 0.49 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2976, allocations: 4 kB / 0.49 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2976, allocations: 0 / 0.49 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2976, allocations: 144 / 0.49 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.2988, allocations: 0.6427 MB / 0.4906 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2988, allocations: 0 / 0.4906 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2989, allocations: 31.97 kB / 0.4906 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.2992, allocations: 88.67 kB / 0.4907 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2992, allocations: 7.984 kB / 0.4907 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.3019, allocations: 1.94 MB / 0.4926 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3019, allocations: 0 / 0.4926 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.3028, allocations: 456 kB / 0.493 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.3029, allocations: 96.92 kB / 0.4931 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3029, allocations: 8 kB / 0.4931 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.3031, allocations: 23.98 kB / 0.4932 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.3031, allocations: 11.97 kB / 0.4932 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3031, allocations: 7.938 kB / 0.4932 GB, free: 10.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3033, allocations: 160.6 kB / 0.4933 GB, free: 10.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3033, allocations: 3.938 kB / 0.4933 GB, free: 10.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005136/0.3038, allocations: 127.7 kB / 0.4935 GB, free: 10.11 MB / 378.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 (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.0001387/0.304, allocations: 111.2 kB / 0.4936 GB, free: 9.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3051, allocations: 0.5518 MB / 0.4941 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3051, allocations: 0 / 0.4941 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.3056, allocations: 283.2 kB / 0.4944 GB, free: 9.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.306, allocations: 40.64 kB / 0.4944 GB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3082, allocations: 0.9768 MB / 0.4954 GB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3085, allocations: 0.7446 MB / 0.4961 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3086, allocations: 15.44 kB / 0.4961 GB, free: 7.281 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3086, allocations: 0 / 0.4961 GB, free: 7.281 MB / 378.7 MB Notification: Performance of Templates: time 0.004887/0.3135, allocations: 3.47 MB / 0.4995 GB, free: 3.82 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:c.v,opAmp.out.i,opAmp.out.v,time