Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001173, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001386/0.001386, allocations: 194.9 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 51.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4167, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005517/0.4223, allocations: 2.951 MB / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4244, allocations: 0.7284 MB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.4247, allocations: 4 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.425, allocations: 47.5 kB / 404.5 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.4253, allocations: 103.2 kB / 404.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.4258, allocations: 115.8 kB / 404.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.4263, allocations: 422.4 kB / 405.1 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.4266, allocations: 127.2 kB / 405.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.4269, allocations: 155.4 kB / 405.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.4271, allocations: 171.3 kB / 405.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.4272, allocations: 44 kB / 405.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.4273, allocations: 40 kB / 405.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4274, allocations: 83.69 kB / 405.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4276, allocations: 179.1 kB / 405.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.4283, allocations: 451.6 kB / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.4284, allocations: 0 / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4284, allocations: 0 / 406.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4284, allocations: 0 / 406.3 MB, free: 3.262 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.001805/0.4302, allocations: 0.6692 MB / 407 MB, free: 2.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.4303, allocations: 11.89 kB / 407 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.4304, allocations: 40.47 kB / 407 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.4312, allocations: 299.7 kB / 407.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4312, allocations: 24.88 kB / 407.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.4312, allocations: 20.38 kB / 407.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.4321, allocations: 331.9 kB / 407.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4321, allocations: 4 kB / 407.7 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.4322, allocations: 4 kB / 407.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4322, allocations: 8 kB / 407.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.433, allocations: 286 kB / 408 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.4353, allocations: 1.146 MB / 409.1 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.4363, allocations: 246.5 kB / 409.4 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/0.4366, allocations: 112.8 kB / 409.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.4367, allocations: 0 / 409.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/0.4373, allocations: 185.8 kB / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.4373, allocations: 0 / 409.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002623/0.4399, allocations: 0.6667 MB / 410.3 MB, free: 15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.44, allocations: 106.8 kB / 410.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.4405, allocations: 286.5 kB / 410.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.4406, allocations: 33.7 kB / 410.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.4408, allocations: 191.7 kB / 411 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.4409, allocations: 51.3 kB / 411 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.441, allocations: 45.94 kB / 411 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.4413, allocations: 342.8 kB / 411.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.4417, allocations: 108.1 kB / 411.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.4422, allocations: 213.3 kB / 411.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.443, allocations: 320.6 kB / 412 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.443, allocations: 0 / 412 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001351/0.4444, allocations: 483.6 kB / 412.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.4445, allocations: 44.19 kB / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4445, allocations: 0 / 412.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.445, allocations: 76.81 kB / 412.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.4453, allocations: 59.89 kB / 412.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.4486, allocations: 2.064 MB / 414.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.4491, allocations: 51.7 kB / 414.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.4492, allocations: 16 kB / 414.8 MB, free: 10.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003136/0.4495, allocations: 149.9 kB / 414.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.4496, allocations: 31.72 kB / 415 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.4497, allocations: 29.77 kB / 415 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4497, allocations: 4 kB / 415 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4497, allocations: 0 / 415 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.4497, allocations: 0 / 415 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.4502, allocations: 329.4 kB / 415.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4502, allocations: 0 / 415.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4503, allocations: 19.97 kB / 415.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.4507, allocations: 88.8 kB / 415.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4507, allocations: 0 / 415.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.4538, allocations: 1.986 MB / 417.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4538, allocations: 64 / 417.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.4549, allocations: 365.4 kB / 417.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.455, allocations: 104.8 kB / 417.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.4551, allocations: 4 kB / 417.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.4553, allocations: 35.91 kB / 417.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4555, allocations: 23.97 kB / 417.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4555, allocations: 4 kB / 417.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.4557, allocations: 198 kB / 418.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4558, allocations: 0 / 418.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.4563, allocations: 79.84 kB / 418.2 MB, free: 6.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.4566, allocations: 111.2 kB / 418.3 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.4583, allocations: 0.4921 MB / 418.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4583, allocations: 4.188 kB / 418.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.4589, allocations: 234.5 kB / 419 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4594, allocations: 65.97 kB / 419.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.463, allocations: 0.9331 MB / 420 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.4635, allocations: 0.7558 MB / 420.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.4637, allocations: 30.31 kB / 420.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.4638, allocations: 19.44 kB / 420.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4638, allocations: 0 / 420.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of Templates: time 0.0111/0.4749, allocations: 4.14 MB / 425 MB, free: 15.73 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches