Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 226.5 MB / 245.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007904/0.0007903, allocations: 92.69 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002174/0.0002174, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1819, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08618/0.2681, allocations: 79.87 MB / 488.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.2684, allocations: 79.95 kB / 488.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.2796, allocations: 4.566 MB / 493.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2797, allocations: 3.938 kB / 493.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2797, allocations: 8 kB / 493.2 MB, free: 7.066 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006854/0.2804, allocations: 0.5306 MB / 493.7 MB, free: 6.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2804, allocations: 8.031 kB / 493.7 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.2805, allocations: 36.5 kB / 493.8 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.2808, allocations: 264.3 kB / 494 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2808, allocations: 20.94 kB / 494 MB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.2809, allocations: 24.38 kB / 494.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.2813, allocations: 280.2 kB / 494.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2814, allocations: 192 / 494.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.2814, allocations: 11.94 kB / 494.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.2814, allocations: 11.94 kB / 494.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.2818, allocations: 210.1 kB / 494.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.2833, allocations: 1.023 MB / 495.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.2837, allocations: 186.4 kB / 495.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.2841, allocations: 160.8 kB / 495.9 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2841, allocations: 4 kB / 495.9 MB, free: 4.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2841, allocations: 46.48 kB / 496 MB, free: 4.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.928e-06/0.2842, allocations: 3.984 kB / 496 MB, free: 4.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001671/0.2858, allocations: 0.6306 MB / 496.6 MB, free: 3.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2859, allocations: 51.41 kB / 496.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2861, allocations: 229 kB / 496.9 MB, free: 3.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.2861, allocations: 25.7 kB / 496.9 MB, free: 3.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.2862, allocations: 179.8 kB / 497.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2863, allocations: 63.09 kB / 497.2 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.2863, allocations: 8 kB / 497.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2864, allocations: 334.8 kB / 497.5 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2866, allocations: 67.97 kB / 497.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2868, allocations: 130.8 kB / 497.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.2871, allocations: 206.7 kB / 497.9 MB, free: 2.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2871, allocations: 3.938 kB / 497.9 MB, free: 2.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007831/0.2879, allocations: 370 kB / 498.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2879, allocations: 4 kB / 498.3 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2879, allocations: 4 kB / 498.3 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.2883, allocations: 92.81 kB / 498.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2885, allocations: 47.92 kB / 498.4 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.2911, allocations: 1.943 MB / 0.4886 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2913, allocations: 35.67 kB / 0.4886 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.2913, allocations: 12 kB / 0.4887 GB, free: 15.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 23 * 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.0001362/0.2915, allocations: 133.7 kB / 0.4888 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.2915, allocations: 23.72 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.2916, allocations: 26.17 kB / 0.4888 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2916, allocations: 8.062 kB / 0.4888 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2916, allocations: 192 / 0.4888 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2916, allocations: 4 kB / 0.4888 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2927, allocations: 0.6706 MB / 0.4895 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2927, allocations: 3.984 kB / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2929, allocations: 27.98 kB / 0.4895 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.2932, allocations: 84.8 kB / 0.4896 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2932, allocations: 8 kB / 0.4896 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.2957, allocations: 1.932 MB / 0.4915 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2957, allocations: 3.938 kB / 0.4915 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.2966, allocations: 490.5 kB / 0.492 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.2967, allocations: 100.8 kB / 0.4921 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.2967, allocations: 12 kB / 0.4921 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2969, allocations: 27.98 kB / 0.4921 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.297, allocations: 11.98 kB / 0.4921 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.297, allocations: 4 kB / 0.4921 GB, free: 11.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2971, allocations: 172.4 kB / 0.4923 GB, free: 11.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2971, allocations: 0 / 0.4923 GB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.2975, allocations: 75.84 kB / 0.4924 GB, free: 11.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (12): * Single equations (assignments): 11 * 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.0001421/0.2977, allocations: 111.2 kB / 0.4925 GB, free: 11.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.2985, allocations: 384.6 kB / 0.4928 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2985, allocations: 0 / 0.4928 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.2991, allocations: 294.8 kB / 0.4931 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.2994, allocations: 41.77 kB / 0.4932 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3016, allocations: 1.056 MB / 0.4942 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3019, allocations: 0.7482 MB / 0.4949 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.302, allocations: 19.44 kB / 0.4949 GB, free: 8.652 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.302, allocations: 0 / 0.4949 GB, free: 8.652 MB / 378.7 MB Notification: Performance of Templates: time 0.004772/0.3068, allocations: 3.679 MB / 0.4985 GB, free: 4.98 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches