Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 105.5 kB / 18.4 MB, free: 4.703 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.00109/0.00109, allocations: 191 kB / 19.33 MB, free: 3.781 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.375/1.375, allocations: 205.1 MB / 225.2 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.001207/0.001207, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09241, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003748/0.0962, allocations: 2.704 MB / 378.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.09755, allocations: 0.7212 MB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.09773, allocations: 7.938 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.09795, allocations: 39.58 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.09815, allocations: 91.25 kB / 379.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.09846, allocations: 103.8 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.09882, allocations: 350.5 kB / 379.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.09902, allocations: 84.69 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.09918, allocations: 127.5 kB / 380.1 MB, free: 336 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.09938, allocations: 159.3 kB / 380.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.09944, allocations: 28 kB / 380.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.09949, allocations: 28 kB / 380.3 MB, free: 120 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.09956, allocations: 67.75 kB / 380.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2036/0.3031, allocations: 140.1 kB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.3036, allocations: 328.6 kB / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3037, allocations: 1.375 kB / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3037, allocations: 0 / 380.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3037, allocations: 0 / 380.8 MB, free: 10.11 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.001149/0.3048, allocations: 0.6336 MB / 381.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3049, allocations: 9.75 kB / 381.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.305, allocations: 32.84 kB / 381.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.3054, allocations: 276.7 kB / 381.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3054, allocations: 18.08 kB / 381.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.3054, allocations: 19.22 kB / 381.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.3061, allocations: 247 kB / 382 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3061, allocations: 3.938 kB / 382 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3061, allocations: 10.55 kB / 382 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3061, allocations: 6.094 kB / 382 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.3068, allocations: 257.5 kB / 382.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3083, allocations: 0.8529 MB / 383.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.3091, allocations: 223.8 kB / 383.4 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.3095, allocations: 97.52 kB / 383.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.3095, allocations: 3.281 kB / 383.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.31, allocations: 180.4 kB / 383.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.31, allocations: 0.5625 kB / 383.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001899/0.3119, allocations: 0.5852 MB / 384.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.312, allocations: 111 kB / 384.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3122, allocations: 252.6 kB / 384.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3123, allocations: 32.12 kB / 384.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.3124, allocations: 169.8 kB / 384.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3124, allocations: 47.58 kB / 384.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.3125, allocations: 45.73 kB / 384.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.3126, allocations: 336.8 kB / 385.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.3129, allocations: 101.2 kB / 385.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.3132, allocations: 163.1 kB / 385.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.3137, allocations: 256 kB / 385.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3137, allocations: 0.7031 kB / 385.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001032/0.3148, allocations: 408.4 kB / 386.1 MB, free: 7.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.3148, allocations: 32.55 kB / 386.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3148, allocations: 5.578 kB / 386.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.3153, allocations: 111.8 kB / 386.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.3155, allocations: 38.77 kB / 386.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.3173, allocations: 1.891 MB / 388.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3176, allocations: 49.92 kB / 388.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3177, allocations: 6.031 kB / 388.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003471/0.318, allocations: 182.3 kB / 388.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002649/0.3183, allocations: 145.5 kB / 388.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004505/0.3188, allocations: 233.2 kB / 388.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.3188, allocations: 1.094 kB / 388.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007396/0.3195, allocations: 337.4 kB / 389.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3196, allocations: 33.53 kB / 389.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3196, allocations: 0.9688 kB / 389.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.3197, allocations: 42.75 kB / 389.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3199, allocations: 38.48 kB / 389.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009961/0.3209, allocations: 1.725 MB / 390.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.3212, allocations: 40.3 kB / 391 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3213, allocations: 6.828 kB / 391 MB, free: 3.93 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: 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 (18): * Single equations (assignments): 16 * 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.0001234/0.3214, allocations: 206.3 kB / 391.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.3214, allocations: 23.83 kB / 391.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.3215, allocations: 30.14 kB / 391.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3215, allocations: 1.125 kB / 391.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3215, allocations: 1.062 kB / 391.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3215, allocations: 0.6562 kB / 391.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.3219, allocations: 299.4 kB / 391.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3219, allocations: 0 / 391.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.322, allocations: 26.84 kB / 391.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/0.3223, allocations: 67.64 kB / 391.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3223, allocations: 2.688 kB / 391.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.3239, allocations: 1.719 MB / 393.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3239, allocations: 0.5156 kB / 393.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.3247, allocations: 318.4 kB / 393.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.3248, allocations: 101.4 kB / 393.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.3249, allocations: 2.953 kB / 393.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.3251, allocations: 30.02 kB / 393.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.3252, allocations: 27.94 kB / 393.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3252, allocations: 7.188 kB / 393.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.3254, allocations: 185.2 kB / 394 MB, free: 1.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3254, allocations: 0 / 394 MB, free: 1.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.3261, allocations: 131.5 kB / 394.1 MB, free: 1.516 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.0001515/0.3262, allocations: 101.6 kB / 394.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.3276, allocations: 0.6922 MB / 394.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3276, allocations: 0 / 394.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.328, allocations: 232.1 kB / 395.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3284, allocations: 50.59 kB / 395.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3296, allocations: 470.9 kB / 395.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.33, allocations: 0.7479 MB / 396.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.3301, allocations: 20.11 kB / 396.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3301, allocations: 3.938 kB / 396.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Templates: time 0.009379/0.3394, allocations: 4.226 MB / 400.7 MB, free: 15.11 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches