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.0009832/0.0009833, allocations: 196 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.6 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007595/0.0007597, allocations: 92.34 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002188, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1995, allocations: 51.29 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002014/0.2016, allocations: 2.287 MB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000864/0.2025, allocations: 0.6793 MB / 411 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2026, allocations: 4 kB / 411 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.2027, allocations: 37.14 kB / 411.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2029, allocations: 72.34 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2031, allocations: 68.8 kB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.2034, allocations: 314.6 kB / 411.5 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2036, allocations: 95.98 kB / 411.6 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.2038, allocations: 111.6 kB / 411.7 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.2039, allocations: 115.5 kB / 411.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.204, allocations: 16 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.593e-05/0.204, allocations: 16 kB / 411.9 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.2041, allocations: 39.83 kB / 411.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.2042, allocations: 153 kB / 412 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.2043, allocations: 228.3 kB / 412.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2043, allocations: 4 kB / 412.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2043, allocations: 0 / 412.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2044, allocations: 0 / 412.3 MB, free: 23.5 MB / 298.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.0007548/0.2051, allocations: 0.5536 MB / 412.8 MB, free: 22.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2052, allocations: 8.031 kB / 412.8 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.2052, allocations: 28.66 kB / 412.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2055, allocations: 263.7 kB / 413.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2055, allocations: 16.94 kB / 413.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.2055, allocations: 24.38 kB / 413.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.206, allocations: 287.9 kB / 413.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.206, allocations: 0 / 413.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.206, allocations: 12 kB / 413.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.206, allocations: 8 kB / 413.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.2064, allocations: 210.1 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2077, allocations: 1.015 MB / 414.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.2081, allocations: 198.4 kB / 414.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.2085, allocations: 157.1 kB / 415 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2085, allocations: 0 / 415 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2085, allocations: 54.45 kB / 415.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.2086, allocations: 0 / 415.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00152/0.2101, allocations: 0.5927 MB / 415.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.2101, allocations: 51.41 kB / 415.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2103, allocations: 225 kB / 415.9 MB, free: 19.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2103, allocations: 29.7 kB / 416 MB, free: 19.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.2104, allocations: 175.8 kB / 416.1 MB, free: 19.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2104, allocations: 67.08 kB / 416.2 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.2104, allocations: 8 kB / 416.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2105, allocations: 330.8 kB / 416.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2107, allocations: 75.89 kB / 416.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.2108, allocations: 130.8 kB / 416.7 MB, free: 18.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.2112, allocations: 202.1 kB / 416.9 MB, free: 18.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2112, allocations: 0 / 416.9 MB, free: 18.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007339/0.2119, allocations: 377.9 kB / 417.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2119, allocations: 6.969 kB / 417.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.212, allocations: 4 kB / 417.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.2123, allocations: 88.8 kB / 417.4 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.2125, allocations: 55.89 kB / 417.5 MB, free: 17.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.2146, allocations: 1.85 MB / 419.3 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2148, allocations: 27.78 kB / 419.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2148, allocations: 16.06 kB / 419.4 MB, free: 15.95 MB / 298.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 (25): * Single equations (assignments): 24 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.2149, allocations: 137.8 kB / 419.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.215, allocations: 23.75 kB / 419.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.215, allocations: 22.19 kB / 419.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.215, allocations: 0 / 419.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.215, allocations: 0 / 419.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2151, allocations: 7.984 kB / 419.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.216, allocations: 0.6668 MB / 420.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.216, allocations: 0 / 420.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2162, allocations: 35.98 kB / 420.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.2164, allocations: 80.73 kB / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2165, allocations: 8 kB / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.2182, allocations: 1.756 MB / 422.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2182, allocations: 0 / 422.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.219, allocations: 486.2 kB / 422.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.2191, allocations: 100.8 kB / 422.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.2191, allocations: 0 / 422.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2193, allocations: 31.98 kB / 422.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2193, allocations: 7.984 kB / 422.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2194, allocations: 11.98 kB / 422.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.2195, allocations: 160.5 kB / 422.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2195, allocations: 0 / 422.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000385/0.2199, allocations: 75.84 kB / 422.9 MB, free: 12.13 MB / 298.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 (13): * Single equations (assignments): 12 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.22, allocations: 107.2 kB / 423 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007417/0.2207, allocations: 378.5 kB / 423.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2208, allocations: 8.25 kB / 423.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.221, allocations: 212.9 kB / 423.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.2214, allocations: 40.53 kB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2234, allocations: 1.06 MB / 424.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2235, allocations: 0.7557 MB / 425.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.2236, allocations: 19.44 kB / 425.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2236, allocations: 0 / 425.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of Templates: time 0.004165/0.2278, allocations: 3.698 MB / 429.2 MB, free: 5.777 MB / 298.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/jenkins/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