Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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: 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_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_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001082/0.001082, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 51.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07933/0.08063, allocations: 46.61 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003833/0.08451, allocations: 2.68 MB / 378.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.08589, allocations: 0.7135 MB / 379.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.08614, allocations: 8 kB / 379.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.08636, allocations: 47.52 kB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.08661, allocations: 87.25 kB / 379.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.08692, allocations: 95.8 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.08736, allocations: 338.4 kB / 379.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.08759, allocations: 113.7 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.08784, allocations: 127.5 kB / 380 MB, free: 336 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.08805, allocations: 143.4 kB / 380.2 MB, free: 192 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.08812, allocations: 28 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.857e-05/0.08819, allocations: 28 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.08824, allocations: 67.77 kB / 380.3 MB, free: 68 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1582/0.2464, allocations: 139.9 kB / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.2469, allocations: 322.7 kB / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2469, allocations: 0 / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2469, allocations: 0.8438 kB / 380.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2469, allocations: 0 / 380.8 MB, free: 10.1 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.0008694/0.2478, allocations: 0.5867 MB / 381.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2479, allocations: 13.39 kB / 381.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.2479, allocations: 35.89 kB / 381.4 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.2483, allocations: 264.4 kB / 381.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2483, allocations: 17.19 kB / 381.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2483, allocations: 27.84 kB / 381.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.2488, allocations: 243.1 kB / 381.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2488, allocations: 3.938 kB / 381.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2488, allocations: 11.5 kB / 381.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2489, allocations: 8.531 kB / 382 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.2493, allocations: 215.9 kB / 382.2 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2506, allocations: 0.9107 MB / 383.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.2511, allocations: 192.8 kB / 383.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.2515, allocations: 151.3 kB / 383.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2515, allocations: 2.156 kB / 383.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.2516, allocations: 36.06 kB / 383.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2516, allocations: 0 / 383.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00147/0.253, allocations: 0.5321 MB / 384 MB, free: 8.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.2531, allocations: 54.61 kB / 384 MB, free: 8.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.2533, allocations: 231.4 kB / 384.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2533, allocations: 26.92 kB / 384.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.2534, allocations: 179.8 kB / 384.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.2534, allocations: 66.27 kB / 384.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.2535, allocations: 47.55 kB / 384.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.2535, allocations: 333.5 kB / 384.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2537, allocations: 69.98 kB / 385 MB, free: 8.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2538, allocations: 119.2 kB / 385.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2541, allocations: 192.2 kB / 385.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2541, allocations: 0 / 385.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006688/0.2548, allocations: 337.3 kB / 385.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2548, allocations: 9.281 kB / 385.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2548, allocations: 1.312 kB / 385.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.2553, allocations: 112 kB / 385.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2555, allocations: 51.23 kB / 385.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.2573, allocations: 1.925 MB / 387.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.2574, allocations: 32.36 kB / 387.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.2575, allocations: 12.17 kB / 387.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001319/0.2576, allocations: 147.5 kB / 387.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001006/0.2577, allocations: 101.9 kB / 388 MB, free: 6.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001747/0.2579, allocations: 171.6 kB / 388.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2579, allocations: 0.8125 kB / 388.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003633/0.2583, allocations: 261.3 kB / 388.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2583, allocations: 7.406 kB / 388.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.2583, allocations: 1 kB / 388.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.2584, allocations: 46.89 kB / 388.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2586, allocations: 47.45 kB / 388.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009009/0.2595, allocations: 1.713 MB / 390.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2596, allocations: 30.05 kB / 390.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2596, allocations: 11 kB / 390.3 MB, free: 4.23 MB / 318.1 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 (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,5)} Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.2597, allocations: 196.3 kB / 390.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2598, allocations: 17.88 kB / 390.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.2598, allocations: 26.06 kB / 390.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2598, allocations: 2.281 kB / 390.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2598, allocations: 3.938 kB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2598, allocations: 4.781 kB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.2607, allocations: 0.6218 MB / 391.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2607, allocations: 3.938 kB / 391.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2609, allocations: 34.03 kB / 391.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.2611, allocations: 72.03 kB / 391.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2611, allocations: 1.188 kB / 391.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.2626, allocations: 1.87 MB / 393.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2626, allocations: 1.094 kB / 393.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.2632, allocations: 414.9 kB / 393.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.2632, allocations: 108.3 kB / 393.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2633, allocations: 4.047 kB / 393.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2635, allocations: 17.34 kB / 393.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2635, allocations: 14.39 kB / 393.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.2635, allocations: 9.078 kB / 393.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2636, allocations: 165.5 kB / 393.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2636, allocations: 1.094 kB / 393.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.2642, allocations: 129 kB / 394 MB, free: 1.414 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.2643, allocations: 101.2 kB / 394 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008612/0.2652, allocations: 0.5476 MB / 394.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2652, allocations: 2.125 kB / 394.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.2655, allocations: 208.8 kB / 394.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.2658, allocations: 37.59 kB / 394.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2674, allocations: 0.768 MB / 395.6 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2676, allocations: 0.7565 MB / 396.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.2677, allocations: 18.94 kB / 396.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2677, allocations: 3.75 kB / 396.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of Templates: time 0.005993/0.2737, allocations: 3.79 MB / 400.2 MB, free: 15.45 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches