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.001139/0.001139, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.84 kB / 306.4 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09305, allocations: 50.54 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004112/0.09721, allocations: 2.749 MB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.09878, allocations: 0.7127 MB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.0991, allocations: 7.938 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.09935, allocations: 35.77 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.09967, allocations: 75.38 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1, allocations: 79.92 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1005, allocations: 322.5 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.1007, allocations: 102.9 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.101, allocations: 119.6 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1012, allocations: 135.4 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.1013, allocations: 20 kB / 361.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.1013, allocations: 20 kB / 361.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1014, allocations: 59.7 kB / 361.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1015, allocations: 131.3 kB / 361.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.1018, allocations: 303.1 kB / 361.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1018, allocations: 4 kB / 361.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1018, allocations: 0 / 361.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.1019, allocations: 0 / 361.8 MB, free: 9.289 MB / 302.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.001018/0.1029, allocations: 0.587 MB / 362.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1029, allocations: 12.03 kB / 362.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.103, allocations: 58.73 kB / 362.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.1031, allocations: 32.56 kB / 362.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.1035, allocations: 259.8 kB / 362.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1035, allocations: 16.94 kB / 362.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1035, allocations: 24.38 kB / 362.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.1041, allocations: 279.8 kB / 363 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1041, allocations: 4 kB / 363 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.1042, allocations: 15.98 kB / 363 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1042, allocations: 4 kB / 363 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.1047, allocations: 198.2 kB / 363.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.1064, allocations: 1.015 MB / 364.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.1069, allocations: 190.5 kB / 364.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.1072, allocations: 152.7 kB / 364.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1073, allocations: 4 kB / 364.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1073, allocations: 38.56 kB / 364.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.1073, allocations: 0 / 364.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001701/0.109, allocations: 0.5616 MB / 365.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1091, allocations: 55.41 kB / 365.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1093, allocations: 229 kB / 365.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1093, allocations: 33.7 kB / 365.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1095, allocations: 171.8 kB / 365.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.1095, allocations: 67.08 kB / 365.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.1096, allocations: 49.7 kB / 365.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1098, allocations: 330.8 kB / 366.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1099, allocations: 67.95 kB / 366.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1102, allocations: 130.8 kB / 366.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1105, allocations: 206.1 kB / 366.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1105, allocations: 3.938 kB / 366.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007929/0.1113, allocations: 354 kB / 366.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1114, allocations: 6.812 kB / 366.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1114, allocations: 4 kB / 366.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.1117, allocations: 84.73 kB / 366.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1119, allocations: 48.05 kB / 367 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.1145, allocations: 1.822 MB / 368.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1147, allocations: 31.75 kB / 368.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1147, allocations: 8 kB / 368.8 MB, free: 1.715 MB / 302.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.0001636/0.1149, allocations: 142.8 kB / 369 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.115, allocations: 23.8 kB / 369 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.115, allocations: 22.19 kB / 369 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1151, allocations: 0 / 369 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1151, allocations: 4 kB / 369 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1151, allocations: 7.922 kB / 369 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.1162, allocations: 0.6551 MB / 369.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1163, allocations: 0 / 369.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1164, allocations: 35.92 kB / 369.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002718/0.1167, allocations: 84.86 kB / 369.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1167, allocations: 4 kB / 369.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1626/0.2793, allocations: 1.717 MB / 371.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2794, allocations: 2.781 kB / 371.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2804, allocations: 456.8 kB / 372 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.2805, allocations: 98.22 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.2806, allocations: 8 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2808, allocations: 24.34 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2808, allocations: 11.08 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2809, allocations: 3 kB / 372.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.281, allocations: 171.4 kB / 372.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.281, allocations: 0 / 372.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000463/0.2815, allocations: 75.86 kB / 372.4 MB, free: 18.52 MB / 302.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.0012/0.2827, allocations: 0.9918 MB / 373.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009525/0.2837, allocations: 372.1 kB / 373.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2837, allocations: 1.25 kB / 373.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.284, allocations: 208.9 kB / 373.9 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.2845, allocations: 41.28 kB / 374 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.2897, allocations: 3.171 MB / 377.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2899, allocations: 0.7498 MB / 377.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.29, allocations: 20.59 kB / 377.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.2901, allocations: 85.23 kB / 378 MB, free: 15.12 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2902, allocations: 0 / 378 MB, free: 15.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.3078, allocations: 5.017 MB / 383 MB, free: 14.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/0.3079, allocations: 245.3 kB / 383.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.106, allocations: 3.938 kB / 383.2 MB, free: 14.41 MB / 302.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) "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),der(l.i),f,gamma,ground.p.i,ground.p.v,l.L,l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v