Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 59.91 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2715, allocations: 50.53 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004253/0.2758, allocations: 2.705 MB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2773, allocations: 0.705 MB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.2776, allocations: 11.94 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.2778, allocations: 47.56 kB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.2781, allocations: 83.25 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.2784, allocations: 91.81 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.2789, allocations: 342.5 kB / 412.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2791, allocations: 113.6 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.2795, allocations: 139.5 kB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.2798, allocations: 131.4 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2799, allocations: 28 kB / 413.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.2799, allocations: 28 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.28, allocations: 67.7 kB / 413.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2802, allocations: 143.3 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.2805, allocations: 312.6 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2805, allocations: 3.938 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2805, allocations: 4 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2806, allocations: 3.984 kB / 413.7 MB, free: 12.58 MB / 334.1 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.001041/0.2816, allocations: 0.5886 MB / 414.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2817, allocations: 16.03 kB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.85e-05/0.2817, allocations: 58.73 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.2818, allocations: 32.56 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.2822, allocations: 263.8 kB / 414.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2822, allocations: 20.94 kB / 414.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2823, allocations: 24.38 kB / 414.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.2828, allocations: 283.8 kB / 415 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2828, allocations: 0 / 415 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.2828, allocations: 12 kB / 415 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2829, allocations: 8 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.2833, allocations: 206.1 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.285, allocations: 1.011 MB / 416.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.2854, allocations: 186.6 kB / 416.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.2858, allocations: 152.7 kB / 416.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2859, allocations: 0 / 416.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.2859, allocations: 38.56 kB / 416.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.2859, allocations: 4 kB / 416.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001603/0.2875, allocations: 0.5522 MB / 417.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2876, allocations: 55.41 kB / 417.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.2878, allocations: 236.9 kB / 417.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2879, allocations: 25.7 kB / 417.5 MB, free: 8.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.288, allocations: 179.8 kB / 417.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.288, allocations: 55.2 kB / 417.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.2881, allocations: 49.61 kB / 417.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2882, allocations: 338.8 kB / 418.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.2884, allocations: 63.97 kB / 418.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.2886, allocations: 130.8 kB / 418.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.289, allocations: 209.7 kB / 418.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.289, allocations: 3.938 kB / 418.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008107/0.2898, allocations: 346 kB / 418.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2899, allocations: 12.06 kB / 418.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2899, allocations: 0 / 418.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.2902, allocations: 80.73 kB / 418.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.2904, allocations: 47.97 kB / 418.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.2931, allocations: 2.013 MB / 421 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2933, allocations: 31.73 kB / 421 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.2933, allocations: 15.92 kB / 421 MB, free: 4.812 MB / 334.1 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.2934, allocations: 137.7 kB / 421.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.2935, allocations: 19.81 kB / 421.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.2936, allocations: 26.17 kB / 421.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2936, allocations: 7.938 kB / 421.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2936, allocations: 4.062 kB / 421.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2936, allocations: 0 / 421.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2947, allocations: 0.655 MB / 421.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2947, allocations: 3.938 kB / 421.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2948, allocations: 31.98 kB / 421.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.2951, allocations: 76.8 kB / 422 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2951, allocations: 4.125 kB / 422 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.2974, allocations: 1.915 MB / 423.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2974, allocations: 0 / 423.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.2983, allocations: 466.8 kB / 424.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.2983, allocations: 89.05 kB / 424.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.2984, allocations: 8 kB / 424.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2986, allocations: 19.97 kB / 424.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.2986, allocations: 20.05 kB / 424.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2986, allocations: 11.86 kB / 424.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.2988, allocations: 168.5 kB / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 0 / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.2992, allocations: 71.84 kB / 424.7 MB, free: 0.8555 MB / 334.1 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.3004, allocations: 0.9901 MB / 425.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.3013, allocations: 379.6 kB / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3013, allocations: 0 / 426.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3016, allocations: 213.8 kB / 426.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.302, allocations: 39.19 kB / 426.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.3069, allocations: 3.07 MB / 429.4 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3072, allocations: 0.7519 MB / 430.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.003e-05/0.3073, allocations: 21.92 kB / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.3074, allocations: 79.42 kB / 430.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3074, allocations: 0 / 430.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3335, allocations: 5.516 MB / 435.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.41, allocations: 10.88 kB / 435.8 MB, free: 5.746 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches