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.001343/0.001343, allocations: 175.6 kB / 16.72 MB, free: 5.051 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.68/1.68, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008306/0.0008304, allocations: 92.92 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3016, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002876/0.3045, allocations: 2.272 MB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3057, allocations: 0.6727 MB / 378 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.3059, allocations: 4.562 kB / 378.1 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.306, allocations: 41.03 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.3062, allocations: 72.05 kB / 378.2 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3065, allocations: 74.81 kB / 378.2 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.3069, allocations: 307.7 kB / 378.5 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.3072, allocations: 96.97 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3074, allocations: 101.7 kB / 378.7 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3076, allocations: 125.9 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.3076, allocations: 15.44 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.3077, allocations: 14.41 kB / 378.9 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.138e-05/0.3078, allocations: 43.23 kB / 378.9 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3079, allocations: 156.9 kB / 379.1 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3082, allocations: 231.5 kB / 379.3 MB, free: 42.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3082, allocations: 1.219 kB / 379.3 MB, free: 42.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3082, allocations: 3.938 kB / 379.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3082, allocations: 3.938 kB / 379.3 MB, free: 42.21 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.0009641/0.3092, allocations: 0.5415 MB / 379.9 MB, free: 41.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.3093, allocations: 9.656 kB / 379.9 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.3094, allocations: 32.34 kB / 379.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.3097, allocations: 259.6 kB / 380.1 MB, free: 41.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.3098, allocations: 22.81 kB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.3098, allocations: 24.22 kB / 380.2 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.3104, allocations: 254.4 kB / 380.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3104, allocations: 0 / 380.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3105, allocations: 6.812 kB / 380.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3105, allocations: 5.688 kB / 380.5 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005678/0.3111, allocations: 226.8 kB / 380.7 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.3127, allocations: 0.929 MB / 381.6 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.3132, allocations: 206.8 kB / 381.8 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.3136, allocations: 154.6 kB / 382 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.3137, allocations: 2 kB / 382 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3137, allocations: 40.44 kB / 382 MB, free: 40.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/0.3137, allocations: 8.828 kB / 382 MB, free: 40.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001719/0.3154, allocations: 0.6156 MB / 382.6 MB, free: 39.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3155, allocations: 57.64 kB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3157, allocations: 224 kB / 382.9 MB, free: 39.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3158, allocations: 31.23 kB / 382.9 MB, free: 39.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3159, allocations: 170 kB / 383.1 MB, free: 39.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3159, allocations: 65.91 kB / 383.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.316, allocations: 9.312 kB / 383.2 MB, free: 39.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.316, allocations: 335.2 kB / 383.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3162, allocations: 60.88 kB / 383.6 MB, free: 39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3164, allocations: 127.3 kB / 383.7 MB, free: 38.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3167, allocations: 194.3 kB / 383.9 MB, free: 38.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3167, allocations: 1.5 kB / 383.9 MB, free: 38.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008502/0.3176, allocations: 366.4 kB / 384.2 MB, free: 38.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.3177, allocations: 133.8 kB / 384.4 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3177, allocations: 2.406 kB / 384.4 MB, free: 38.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.3181, allocations: 80.2 kB / 384.4 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.3183, allocations: 54.42 kB / 384.5 MB, free: 38.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.3204, allocations: 1.808 MB / 386.3 MB, free: 36.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3206, allocations: 26.44 kB / 386.3 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3206, allocations: 7.188 kB / 386.3 MB, free: 36.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.3206, allocations: 7.625 kB / 386.3 MB, free: 36.74 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003887/0.321, allocations: 207.4 kB / 386.5 MB, free: 36.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.321, allocations: 6.312 kB / 386.6 MB, free: 36.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.3212, allocations: 40.11 kB / 386.6 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3214, allocations: 49.95 kB / 386.6 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/0.3223, allocations: 1.539 MB / 388.2 MB, free: 35.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3224, allocations: 15.84 kB / 388.2 MB, free: 35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3225, allocations: 12 kB / 388.2 MB, free: 34.98 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.0001641/0.3226, allocations: 209.1 kB / 388.4 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.3227, allocations: 23.66 kB / 388.4 MB, free: 34.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3227, allocations: 29.86 kB / 388.5 MB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3228, allocations: 4 kB / 388.5 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3228, allocations: 3.984 kB / 388.5 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3228, allocations: 4.062 kB / 388.5 MB, free: 34.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007987/0.3236, allocations: 0.6441 MB / 389.1 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3236, allocations: 0 / 389.1 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3237, allocations: 39.86 kB / 389.2 MB, free: 33.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.3239, allocations: 72.8 kB / 389.2 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.324, allocations: 8 kB / 389.2 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3254, allocations: 1.733 MB / 391 MB, free: 32.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3254, allocations: 0 / 391 MB, free: 32.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.326, allocations: 449.8 kB / 391.4 MB, free: 31.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3261, allocations: 101 kB / 391.5 MB, free: 31.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3261, allocations: 4 kB / 391.5 MB, free: 31.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3263, allocations: 15.98 kB / 391.5 MB, free: 31.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.3263, allocations: 15.98 kB / 391.5 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3263, allocations: 4 kB / 391.5 MB, free: 31.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.3265, allocations: 169.6 kB / 391.7 MB, free: 31.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3265, allocations: 0 / 391.7 MB, free: 31.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.3271, allocations: 135.6 kB / 391.8 MB, free: 31.11 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.0001708/0.3272, allocations: 103.1 kB / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.3281, allocations: 0.5676 MB / 392.5 MB, free: 30.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3281, allocations: 0 / 392.5 MB, free: 30.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.3283, allocations: 222.5 kB / 392.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3288, allocations: 49.88 kB / 392.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3303, allocations: 0.9626 MB / 393.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3306, allocations: 0.7482 MB / 394.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.3306, allocations: 19.44 kB / 394.5 MB, free: 28.33 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3307, allocations: 4 kB / 394.5 MB, free: 28.32 MB / 298.7 MB Notification: Performance of Templates: time 0.004818/0.3355, allocations: 3.736 MB / 398.2 MB, free: 24.59 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) Reference file matches