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.001341/0.001341, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.001447/0.001447, allocations: 188.2 kB / 18.66 MB, free: 4.414 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.722/1.722, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001413/0.001413, allocations: 51.94 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 46.62 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005387/0.1301, allocations: 2.688 MB / 377.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1318, allocations: 0.7251 MB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.1323, allocations: 8 kB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1325, allocations: 43.58 kB / 378.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.1328, allocations: 91.19 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1333, allocations: 91.88 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.1338, allocations: 358.5 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1341, allocations: 84.7 kB / 379.3 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.1344, allocations: 131.4 kB / 379.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.1346, allocations: 159.3 kB / 379.5 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.1347, allocations: 28 kB / 379.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.1347, allocations: 28 kB / 379.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.1348, allocations: 59.83 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2924/0.4272, allocations: 141 kB / 379.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006332/0.4279, allocations: 328.3 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.428, allocations: 1.062 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.428, allocations: 1.844 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.428, allocations: 0 / 380.1 MB, free: 10.09 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.001213/0.4292, allocations: 0.6349 MB / 380.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4293, allocations: 11.19 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.4293, allocations: 31.69 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.4297, allocations: 271 kB / 381.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.4297, allocations: 15.69 kB / 381.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.4297, allocations: 24.25 kB / 381.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006346/0.4304, allocations: 247.8 kB / 381.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4304, allocations: 7.703 kB / 381.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.4304, allocations: 7.938 kB / 381.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4305, allocations: 7.906 kB / 381.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.4312, allocations: 251.4 kB / 381.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4327, allocations: 0.8566 MB / 382.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.4335, allocations: 226.8 kB / 382.7 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4339, allocations: 97.62 kB / 382.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4339, allocations: 5.125 kB / 382.8 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.4344, allocations: 176.5 kB / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.4344, allocations: 0 / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002083/0.4365, allocations: 0.5968 MB / 383.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4366, allocations: 105.5 kB / 383.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.4368, allocations: 260.2 kB / 383.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4369, allocations: 32.39 kB / 383.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.437, allocations: 179.4 kB / 384.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.437, allocations: 41.44 kB / 384.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.4371, allocations: 49.95 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.4372, allocations: 335.6 kB / 384.5 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.4375, allocations: 101.6 kB / 384.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.4378, allocations: 179.6 kB / 384.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.4384, allocations: 277.9 kB / 385.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4385, allocations: 1.188 kB / 385.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001069/0.4395, allocations: 425.8 kB / 385.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4396, allocations: 33.17 kB / 385.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4396, allocations: 2.062 kB / 385.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.4401, allocations: 119.7 kB / 385.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.4403, allocations: 39.14 kB / 385.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.4423, allocations: 1.937 MB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.4426, allocations: 47.38 kB / 387.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.4427, allocations: 12.03 kB / 387.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003225/0.443, allocations: 178.5 kB / 387.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.4433, allocations: 159.1 kB / 388 MB, free: 5.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005053/0.4438, allocations: 247.3 kB / 388.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.4438, allocations: 1.125 kB / 388.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007486/0.4446, allocations: 351.6 kB / 388.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4446, allocations: 38.73 kB / 388.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4446, allocations: 1.688 kB / 388.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.4447, allocations: 42.55 kB / 388.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4449, allocations: 45.44 kB / 388.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009802/0.4459, allocations: 1.716 MB / 390.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.4463, allocations: 51.09 kB / 390.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4463, allocations: 12.19 kB / 390.5 MB, free: 3.824 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 0.000115/0.4464, allocations: 194.5 kB / 390.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4464, allocations: 24.84 kB / 390.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.4465, allocations: 28.64 kB / 390.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4465, allocations: 5.031 kB / 390.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4465, allocations: 5.453 kB / 390.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4465, allocations: 1.578 kB / 390.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.4468, allocations: 295.4 kB / 391 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4468, allocations: 0 / 391 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.447, allocations: 26.06 kB / 391.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.4472, allocations: 65.28 kB / 391.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4472, allocations: 5.062 kB / 391.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.4489, allocations: 1.868 MB / 393 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4489, allocations: 0.6094 kB / 393 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.4498, allocations: 323.4 kB / 393.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.4499, allocations: 102 kB / 393.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.4499, allocations: 11.22 kB / 393.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4502, allocations: 26.3 kB / 393.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.4502, allocations: 26.59 kB / 393.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4503, allocations: 5.172 kB / 393.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.4504, allocations: 188.9 kB / 393.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4504, allocations: 0 / 393.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006083/0.4511, allocations: 121.1 kB / 393.8 MB, free: 1.281 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.4512, allocations: 103.9 kB / 393.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4527, allocations: 0.7427 MB / 394.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4527, allocations: 1.281 kB / 394.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.4531, allocations: 235.1 kB / 394.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4534, allocations: 50.02 kB / 394.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4554, allocations: 0.6884 MB / 395.6 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4558, allocations: 0.7529 MB / 396.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.4559, allocations: 28.8 kB / 396.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.456, allocations: 19.66 kB / 396.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.456, allocations: 4 kB / 396.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Templates: time 0.009757/0.4658, allocations: 4.417 MB / 400.8 MB, free: 14.73 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins/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