Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 109.9 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002427/0.002427, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.084/2.084, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 55.86 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5744, allocations: 49.43 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.009789/0.5843, allocations: 2.705 MB / 403 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.5869, allocations: 0.6661 MB / 403.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.5874, allocations: 8 kB / 403.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.5878, allocations: 47.5 kB / 403.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.5884, allocations: 91.25 kB / 403.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.5889, allocations: 83.81 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.5897, allocations: 338.5 kB / 404.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.5901, allocations: 109.7 kB / 404.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.5905, allocations: 127.5 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004154/0.591, allocations: 143.3 kB / 404.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.5911, allocations: 32 kB / 404.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.5913, allocations: 28 kB / 404.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.5914, allocations: 59.77 kB / 404.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.5917, allocations: 143.3 kB / 404.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.5923, allocations: 316.5 kB / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5924, allocations: 0 / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5924, allocations: 0 / 405.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.5924, allocations: 0 / 405.1 MB, free: 3.914 MB / 318.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.001659/0.5941, allocations: 0.5926 MB / 405.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.5941, allocations: 12.03 kB / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5943, allocations: 62.72 kB / 405.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.5944, allocations: 28.66 kB / 405.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.5952, allocations: 268.2 kB / 406.1 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.5953, allocations: 16.94 kB / 406.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.5954, allocations: 24.38 kB / 406.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5964, allocations: 279.8 kB / 406.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5965, allocations: 11.97 kB / 406.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.5965, allocations: 15.94 kB / 406.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.5966, allocations: 4 kB / 406.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.5973, allocations: 206.1 kB / 406.6 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.6, allocations: 1.011 MB / 407.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.6007, allocations: 190.4 kB / 407.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.6014, allocations: 152.8 kB / 408 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.6014, allocations: 7.984 kB / 408 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.6015, allocations: 30.56 kB / 408 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 3.086e-06/0.6015, allocations: 0 / 408 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002886/0.6044, allocations: 0.5578 MB / 408.6 MB, free: 244 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.6045, allocations: 55.41 kB / 408.6 MB, free: 176 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.6049, allocations: 229 kB / 408.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.6049, allocations: 33.7 kB / 408.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.6051, allocations: 167.9 kB / 409.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.6052, allocations: 67 kB / 409.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.6053, allocations: 49.61 kB / 409.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.6056, allocations: 330.8 kB / 409.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.6059, allocations: 75.89 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.6062, allocations: 134.8 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.6069, allocations: 206.5 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.6069, allocations: 3.938 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001392/0.6083, allocations: 346.1 kB / 410.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.6083, allocations: 4 kB / 410.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.6084, allocations: 4 kB / 410.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.6089, allocations: 80.86 kB / 410.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.6093, allocations: 51.91 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004972/0.6143, allocations: 2.005 MB / 412.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.6146, allocations: 31.8 kB / 412.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.6147, allocations: 8 kB / 412.4 MB, free: 12.15 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.0002232/0.6149, allocations: 153.6 kB / 412.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.615, allocations: 19.86 kB / 412.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.6151, allocations: 30.16 kB / 412.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6151, allocations: 3.938 kB / 412.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6152, allocations: 4 kB / 412.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6152, allocations: 0 / 412.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.6171, allocations: 0.6575 MB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6171, allocations: 0 / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.6174, allocations: 31.97 kB / 413.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.6178, allocations: 84.73 kB / 413.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.6179, allocations: 4 kB / 413.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/0.6222, allocations: 1.919 MB / 415.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6223, allocations: 0 / 415.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.6241, allocations: 459.8 kB / 415.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.6243, allocations: 92.94 kB / 415.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.6244, allocations: 8 kB / 415.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.6248, allocations: 15.98 kB / 415.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.6248, allocations: 11.98 kB / 415.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.6249, allocations: 7.938 kB / 415.9 MB, free: 8.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.6252, allocations: 176.5 kB / 416.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6253, allocations: 0 / 416.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008549/0.6261, allocations: 71.84 kB / 416.2 MB, free: 8.172 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.002416/0.6286, allocations: 0.9925 MB / 417.1 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.6305, allocations: 366.5 kB / 417.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6305, allocations: 0 / 417.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.6311, allocations: 206.9 kB / 417.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/0.632, allocations: 43.95 kB / 417.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.643, allocations: 3.085 MB / 420.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.6438, allocations: 0.748 MB / 421.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.6441, allocations: 17.95 kB / 421.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.6443, allocations: 75.41 kB / 421.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of SimCode: time 2.395e-06/0.6443, allocations: 0 / 421.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/2.043, allocations: 5.53 MB / 427.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/20.33, allocations: 0 / 427.2 MB, free: 13.05 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches