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.001469/0.00147, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.00172/0.00172, allocations: 191 kB / 18.66 MB, free: 4.438 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.798/1.798, allocations: 205.1 MB / 224.5 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.001194/0.001194, allocations: 52.34 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1285, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004183/0.1327, allocations: 2.675 MB / 377.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1341, allocations: 0.7018 MB / 378.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1343, allocations: 4 kB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.1345, allocations: 55.52 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1347, allocations: 87.23 kB / 378.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1351, allocations: 87.88 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1355, allocations: 338.4 kB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1357, allocations: 117.7 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1359, allocations: 135.5 kB / 379.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1362, allocations: 139.4 kB / 379.5 MB, free: 200 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1362, allocations: 28 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.1363, allocations: 32 kB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.1363, allocations: 55.77 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2609/0.3972, allocations: 146.4 kB / 379.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.3978, allocations: 321.2 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3978, allocations: 0 / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3978, allocations: 1.188 kB / 380.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3978, allocations: 0 / 380.1 MB, free: 10.08 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.0009916/0.3988, allocations: 0.5879 MB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3988, allocations: 13.48 kB / 380.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.3989, allocations: 34.81 kB / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.3993, allocations: 266.1 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.3993, allocations: 17.19 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.3994, allocations: 28.69 kB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.3999, allocations: 240.9 kB / 381.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4, allocations: 10.72 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.4, allocations: 12.56 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4, allocations: 4.938 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.4005, allocations: 215.8 kB / 381.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4022, allocations: 0.9118 MB / 382.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.4028, allocations: 188.9 kB / 382.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.4033, allocations: 148.3 kB / 382.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.4034, allocations: 3 kB / 382.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4034, allocations: 39.61 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.4034, allocations: 0.5 kB / 382.8 MB, free: 8.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001793/0.4052, allocations: 0.5353 MB / 383.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.4053, allocations: 52.75 kB / 383.4 MB, free: 8.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4055, allocations: 232.6 kB / 383.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.4056, allocations: 33.86 kB / 383.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.4057, allocations: 172.9 kB / 383.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.4057, allocations: 69.75 kB / 383.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.4058, allocations: 43.48 kB / 383.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.4059, allocations: 336.3 kB / 384.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.406, allocations: 65.14 kB / 384.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.4062, allocations: 126.5 kB / 384.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.4065, allocations: 187.2 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4066, allocations: 1.094 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007521/0.4073, allocations: 339.9 kB / 384.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4073, allocations: 4.594 kB / 384.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4074, allocations: 2.547 kB / 384.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.4079, allocations: 115.8 kB / 385.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.4081, allocations: 47.38 kB / 385.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.4102, allocations: 1.922 MB / 387 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4104, allocations: 26.31 kB / 387 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.4104, allocations: 10.78 kB / 387.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001702/0.4106, allocations: 152.7 kB / 387.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001342/0.4107, allocations: 102.1 kB / 387.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001997/0.411, allocations: 171.7 kB / 387.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.411, allocations: 0 / 387.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003922/0.4114, allocations: 259.2 kB / 387.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4114, allocations: 5.25 kB / 387.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4114, allocations: 2.688 kB / 387.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.4115, allocations: 55.12 kB / 387.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.4117, allocations: 44.44 kB / 387.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.4127, allocations: 1.722 MB / 389.6 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.4129, allocations: 25.94 kB / 389.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4129, allocations: 6.875 kB / 389.6 MB, free: 4.215 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 9.184e-05/0.413, allocations: 195.3 kB / 389.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.413, allocations: 19.22 kB / 389.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.4131, allocations: 29.12 kB / 389.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4131, allocations: 3.047 kB / 389.8 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4131, allocations: 3.938 kB / 389.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4131, allocations: 1.172 kB / 389.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.4141, allocations: 0.6269 MB / 390.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4141, allocations: 3.781 kB / 390.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.4142, allocations: 30 kB / 390.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.4145, allocations: 73.48 kB / 390.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4145, allocations: 2.188 kB / 390.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.4162, allocations: 1.868 MB / 392.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4162, allocations: 0 / 392.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.4169, allocations: 412.2 kB / 392.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.417, allocations: 109.3 kB / 392.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.417, allocations: 1.719 kB / 392.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4172, allocations: 22.41 kB / 393 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.4172, allocations: 10.47 kB / 393 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4173, allocations: 9.484 kB / 393 MB, free: 1.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4174, allocations: 165.5 kB / 393.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4175, allocations: 0 / 393.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.4181, allocations: 129.1 kB / 393.3 MB, free: 1.398 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.0001473/0.4183, allocations: 104.3 kB / 393.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4194, allocations: 0.5455 MB / 393.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4194, allocations: 1.156 kB / 393.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.4197, allocations: 213.2 kB / 394.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.4201, allocations: 37.08 kB / 394.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.422, allocations: 0.7465 MB / 394.9 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.4224, allocations: 0.7561 MB / 395.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.4225, allocations: 23.52 kB / 395.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4226, allocations: 18.84 kB / 395.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4226, allocations: 0 / 395.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Templates: time 0.009389/0.432, allocations: 3.413 MB / 399.1 MB, free: 15.48 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/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