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.001521/0.001521, allocations: 114.5 kB / 18.41 MB, free: 4.684 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.001721/0.001721, allocations: 182.2 kB / 19.34 MB, free: 3.766 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.35/1.35, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001172/0.001172, allocations: 51.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07028/0.07146, allocations: 46.61 MB / 375.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003459/0.07495, allocations: 2.686 MB / 378.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.07617, allocations: 0.7096 MB / 379.3 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.07635, allocations: 4 kB / 379.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.07652, allocations: 47.52 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.07673, allocations: 91.25 kB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.077, allocations: 91.81 kB / 379.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.07735, allocations: 338.3 kB / 379.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.07757, allocations: 121.7 kB / 379.9 MB, free: 468 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.07777, allocations: 123.5 kB / 380.1 MB, free: 344 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.07796, allocations: 139.4 kB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.07802, allocations: 31.98 kB / 380.2 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.07809, allocations: 32 kB / 380.3 MB, free: 140 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.07815, allocations: 63.7 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.141/0.2192, allocations: 138.4 kB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.2196, allocations: 319.9 kB / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2196, allocations: 1.219 kB / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2196, allocations: 0 / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2197, allocations: 0 / 380.8 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.000958/0.2206, allocations: 0.5869 MB / 381.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2207, allocations: 13.08 kB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.2208, allocations: 35.22 kB / 381.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2211, allocations: 269.7 kB / 381.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2211, allocations: 21.16 kB / 381.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.2212, allocations: 26.48 kB / 381.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.2217, allocations: 241.3 kB / 381.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2217, allocations: 5.281 kB / 381.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.2217, allocations: 9.953 kB / 382 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2217, allocations: 6.875 kB / 382 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.2222, allocations: 217.2 kB / 382.2 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.2236, allocations: 0.9143 MB / 383.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.2241, allocations: 182.2 kB / 383.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.2245, allocations: 152.8 kB / 383.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2245, allocations: 4.406 kB / 383.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2245, allocations: 38.45 kB / 383.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.2246, allocations: 1.062 kB / 383.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001568/0.2261, allocations: 0.5315 MB / 384 MB, free: 8.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.2262, allocations: 54.97 kB / 384 MB, free: 8.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2264, allocations: 233.6 kB / 384.3 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2264, allocations: 29.64 kB / 384.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2265, allocations: 179.6 kB / 384.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.2265, allocations: 63.27 kB / 384.5 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.2266, allocations: 45.78 kB / 384.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.2266, allocations: 334 kB / 384.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.2268, allocations: 65.8 kB / 385 MB, free: 8.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2269, allocations: 120.3 kB / 385.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2272, allocations: 190.1 kB / 385.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2272, allocations: 0 / 385.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007148/0.2279, allocations: 341.5 kB / 385.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.228, allocations: 5.188 kB / 385.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.228, allocations: 4.875 kB / 385.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.2285, allocations: 111.9 kB / 385.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2287, allocations: 47.69 kB / 385.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.2305, allocations: 1.928 MB / 387.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2307, allocations: 18.16 kB / 387.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2308, allocations: 14.45 kB / 387.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001415/0.2309, allocations: 152 kB / 387.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001008/0.231, allocations: 107 kB / 388 MB, free: 6.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001784/0.2312, allocations: 171.2 kB / 388.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.2312, allocations: 0 / 388.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003714/0.2316, allocations: 260 kB / 388.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.2316, allocations: 5.562 kB / 388.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2316, allocations: 2.031 kB / 388.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.2317, allocations: 43.97 kB / 388.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.2319, allocations: 53.75 kB / 388.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/0.2328, allocations: 1.718 MB / 390.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.233, allocations: 25.5 kB / 390.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.233, allocations: 13.41 kB / 390.3 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 7e-05/0.2331, allocations: 193.7 kB / 390.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.2331, allocations: 18.97 kB / 390.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.2332, allocations: 25.98 kB / 390.5 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2332, allocations: 0.75 kB / 390.5 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2332, allocations: 0 / 390.5 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.2333, allocations: 108.2 kB / 390.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.2333, allocations: 6.219 kB / 390.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.2335, allocations: 25.33 kB / 390.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.2335, allocations: 12.97 kB / 390.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007642/0.2343, allocations: 356 kB / 391 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004353/0.2348, allocations: 420.8 kB / 391.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000123/0.2349, allocations: 61.2 kB / 391.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.235, allocations: 165.9 kB / 391.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Backend: time 3.2e-07/0.235, allocations: 2.625 kB / 391.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.2361, allocations: 0.5723 MB / 392.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009049/0.237, allocations: 1.033 MB / 393.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of Templates: time 0.00789/0.2449, allocations: 3.724 MB / 397 MB, free: 1.84 MB / 318.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