Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 89.42 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000575/0.0005753, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.327, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002771/0.3298, allocations: 2.267 MB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.331, allocations: 0.6764 MB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.3312, allocations: 4.188 kB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3313, allocations: 45.19 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3315, allocations: 68.77 kB / 377.6 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3317, allocations: 66.2 kB / 377.7 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.3321, allocations: 306.1 kB / 378 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.3323, allocations: 87.16 kB / 378.1 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3325, allocations: 109.3 kB / 378.2 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3327, allocations: 118.5 kB / 378.3 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.3327, allocations: 14.59 kB / 378.3 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.3328, allocations: 14.31 kB / 378.3 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.3328, allocations: 51.11 kB / 378.4 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.3329, allocations: 70.95 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3331, allocations: 232.4 kB / 378.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3331, allocations: 0 / 378.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3331, allocations: 3.938 kB / 378.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3331, allocations: 7.938 kB / 378.7 MB, free: 42.31 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.0008028/0.334, allocations: 0.5447 MB / 379.2 MB, free: 41.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.334, allocations: 9.594 kB / 379.2 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.3341, allocations: 34.61 kB / 379.3 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3343, allocations: 259.6 kB / 379.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3344, allocations: 18.53 kB / 379.5 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.3344, allocations: 23.19 kB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.3349, allocations: 242.8 kB / 379.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3349, allocations: 4 kB / 379.8 MB, free: 41.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.335, allocations: 10.59 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.335, allocations: 6.594 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.3355, allocations: 226.7 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3371, allocations: 0.9398 MB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.3376, allocations: 195 kB / 381.2 MB, free: 40.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3379, allocations: 154.5 kB / 381.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.338, allocations: 2.5 kB / 381.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.338, allocations: 41.05 kB / 381.4 MB, free: 40.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.338, allocations: 0 / 381.4 MB, free: 40.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001752/0.3398, allocations: 0.6213 MB / 382 MB, free: 39.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3398, allocations: 53.25 kB / 382 MB, free: 39.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3401, allocations: 229.5 kB / 382.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3401, allocations: 35.95 kB / 382.3 MB, free: 39.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.3402, allocations: 172.9 kB / 382.5 MB, free: 39.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3403, allocations: 62.61 kB / 382.5 MB, free: 39.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.3403, allocations: 6.062 kB / 382.5 MB, free: 39.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.3404, allocations: 334.9 kB / 382.9 MB, free: 39.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3405, allocations: 69.41 kB / 382.9 MB, free: 39.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3407, allocations: 122.4 kB / 383 MB, free: 39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3409, allocations: 81.89 kB / 383.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3409, allocations: 0 / 383.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007443/0.3416, allocations: 367.5 kB / 383.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.3417, allocations: 129.6 kB / 383.6 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3417, allocations: 2.125 kB / 383.6 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.3421, allocations: 84.08 kB / 383.7 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3423, allocations: 46.48 kB / 383.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.3443, allocations: 1.804 MB / 385.5 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3445, allocations: 22.44 kB / 385.6 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3445, allocations: 11.94 kB / 385.6 MB, free: 36.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.3445, allocations: 3.562 kB / 385.6 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003551/0.3449, allocations: 222.9 kB / 385.8 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3449, allocations: 14.09 kB / 385.8 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.444e-05/0.345, allocations: 36.97 kB / 385.8 MB, free: 36.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3452, allocations: 49.69 kB / 385.9 MB, free: 36.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008851/0.3461, allocations: 1.536 MB / 387.4 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3462, allocations: 21.19 kB / 387.4 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3462, allocations: 10.97 kB / 387.5 MB, free: 35.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001386/0.3464, allocations: 211.5 kB / 387.7 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.3464, allocations: 23.14 kB / 387.7 MB, free: 35.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3465, allocations: 22.78 kB / 387.7 MB, free: 35.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3465, allocations: 1.281 kB / 387.7 MB, free: 35.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3465, allocations: 1.156 kB / 387.7 MB, free: 35.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.3465, allocations: 12.03 kB / 387.7 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.3474, allocations: 0.6479 MB / 388.4 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3474, allocations: 4 kB / 388.4 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3475, allocations: 35.97 kB / 388.4 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.3477, allocations: 72.81 kB / 388.5 MB, free: 34.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3477, allocations: 4 kB / 388.5 MB, free: 34.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.3491, allocations: 1.733 MB / 390.2 MB, free: 32.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3491, allocations: 0 / 390.2 MB, free: 32.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.3497, allocations: 447.9 kB / 390.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.3498, allocations: 100.7 kB / 390.8 MB, free: 31.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3498, allocations: 4.062 kB / 390.8 MB, free: 31.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.35, allocations: 24.17 kB / 390.8 MB, free: 31.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.35, allocations: 11.98 kB / 390.8 MB, free: 31.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3501, allocations: 11.98 kB / 390.8 MB, free: 31.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.3502, allocations: 160.5 kB / 391 MB, free: 31.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3502, allocations: 0 / 391 MB, free: 31.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.3507, allocations: 131.7 kB / 391.1 MB, free: 31.48 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001231/0.3509, allocations: 103.2 kB / 391.2 MB, free: 31.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.3517, allocations: 0.5739 MB / 391.8 MB, free: 30.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.3517, allocations: 0 / 391.8 MB, free: 30.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.352, allocations: 206.6 kB / 392 MB, free: 30.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3524, allocations: 48.95 kB / 392 MB, free: 30.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.354, allocations: 0.9623 MB / 393 MB, free: 29.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3542, allocations: 0.7522 MB / 393.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.3542, allocations: 19.44 kB / 393.7 MB, free: 28.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3542, allocations: 4 kB / 393.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of Templates: time 0.004492/0.3587, allocations: 3.739 MB / 397.5 MB, free: 24.97 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_cpp_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.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.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.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v