Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108.4 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.001247/0.001247, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.264/1.264, 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.001193/0.001193, allocations: 59.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06976/0.07097, allocations: 46.61 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003343/0.07434, allocations: 2.699 MB / 378.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.07535, allocations: 0.7251 MB / 379.3 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.07547, allocations: 4 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.07562, allocations: 47.58 kB / 379.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.07579, allocations: 83.25 kB / 379.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.07604, allocations: 103.8 kB / 379.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.07639, allocations: 354.5 kB / 379.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.07656, allocations: 88.69 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.07671, allocations: 127.4 kB / 380.1 MB, free: 316 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.0769, allocations: 151.4 kB / 380.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.07695, allocations: 28 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.07701, allocations: 28 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.07708, allocations: 63.75 kB / 380.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1416/0.2187, allocations: 150.4 kB / 380.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.2191, allocations: 320.3 kB / 380.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2191, allocations: 1.375 kB / 380.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2191, allocations: 0 / 380.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2191, allocations: 4 kB / 380.8 MB, free: 10.12 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001198/0.2203, allocations: 0.6341 MB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2204, allocations: 8.25 kB / 381.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.2205, allocations: 32.39 kB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.2208, allocations: 274.6 kB / 381.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2209, allocations: 15.69 kB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2209, allocations: 19.44 kB / 381.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.2215, allocations: 250.4 kB / 382 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2216, allocations: 3.938 kB / 382 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2216, allocations: 10.17 kB / 382 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2216, allocations: 7.469 kB / 382 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.2224, allocations: 253 kB / 382.3 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2237, allocations: 0.8598 MB / 383.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.2245, allocations: 224.8 kB / 383.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2248, allocations: 97.59 kB / 383.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.2249, allocations: 2.703 kB / 383.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.2253, allocations: 183.5 kB / 383.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.2253, allocations: 0 / 383.6 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001953/0.2273, allocations: 0.5943 MB / 384.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2273, allocations: 105.7 kB / 384.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.2276, allocations: 269.1 kB / 384.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2276, allocations: 30.89 kB / 384.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.2277, allocations: 175.7 kB / 384.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.2277, allocations: 41.59 kB / 384.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.2278, allocations: 52.05 kB / 384.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.2279, allocations: 337.8 kB / 385.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.2282, allocations: 99.7 kB / 385.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.2286, allocations: 173.7 kB / 385.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.2291, allocations: 270.1 kB / 385.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2292, allocations: 0.5625 kB / 385.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001077/0.2302, allocations: 432 kB / 386.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2303, allocations: 36.31 kB / 386.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2303, allocations: 2.375 kB / 386.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.2308, allocations: 110.8 kB / 386.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.231, allocations: 44.84 kB / 386.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.2328, allocations: 1.922 MB / 388.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.2332, allocations: 56.55 kB / 388.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2332, allocations: 11.22 kB / 388.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003237/0.2335, allocations: 183.4 kB / 388.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002827/0.2338, allocations: 157.8 kB / 388.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.2343, allocations: 247.5 kB / 388.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.2343, allocations: 0.6562 kB / 388.9 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007617/0.2351, allocations: 356 kB / 389.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2351, allocations: 34.14 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2351, allocations: 0.875 kB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.2353, allocations: 48.41 kB / 389.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.2355, allocations: 39.36 kB / 389.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009562/0.2364, allocations: 1.722 MB / 391.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.2367, allocations: 44.8 kB / 391.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2368, allocations: 9.234 kB / 391.2 MB, free: 3.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.098e-05/0.2369, allocations: 206.1 kB / 391.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2369, allocations: 23.28 kB / 391.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.237, allocations: 22.95 kB / 391.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.237, allocations: 0.5156 kB / 391.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.237, allocations: 0 / 391.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.237, allocations: 105.1 kB / 391.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.2371, allocations: 5.734 kB / 391.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.2373, allocations: 37.98 kB / 391.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.2374, allocations: 26.25 kB / 391.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001049/0.2385, allocations: 383.5 kB / 392 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009108/0.2394, allocations: 495.2 kB / 392.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000292/0.2397, allocations: 89.02 kB / 392.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2399, allocations: 192.6 kB / 392.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Backend: time 3.1e-07/0.2399, allocations: 0 / 392.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.2413, allocations: 0.7253 MB / 393.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007854/0.2421, allocations: 0.9277 MB / 394.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of Templates: time 0.008914/0.251, allocations: 4.753 MB / 399.1 MB, free: 0.9414 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches