Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.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 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001168, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001171/0.001171, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009621/0.0009621, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2233, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004063/0.2275, allocations: 2.814 MB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.2285, allocations: 0.6349 MB / 404.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.2286, allocations: 8 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2287, allocations: 43.52 kB / 404.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.229, allocations: 91.19 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.2292, allocations: 95.81 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.2296, allocations: 374.5 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2298, allocations: 115 kB / 405.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.23, allocations: 155.4 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2301, allocations: 163.4 kB / 405.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.2302, allocations: 32 kB / 405.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.2303, allocations: 36 kB / 406 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.2304, allocations: 79.67 kB / 406 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2305, allocations: 159.2 kB / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.2309, allocations: 371.9 kB / 406.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2309, allocations: 0 / 406.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2309, allocations: 4 kB / 406.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2309, allocations: 0 / 406.6 MB, free: 3.715 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001241/0.2322, allocations: 0.6498 MB / 407.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2322, allocations: 8.031 kB / 407.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.2323, allocations: 32.56 kB / 407.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.2326, allocations: 284.5 kB / 407.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2326, allocations: 20.94 kB / 407.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2327, allocations: 28.31 kB / 407.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.2334, allocations: 303.7 kB / 407.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2334, allocations: 0 / 407.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.2334, allocations: 12 kB / 407.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2334, allocations: 8 kB / 407.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.2342, allocations: 249.5 kB / 408.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2359, allocations: 1.081 MB / 409.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/0.2367, allocations: 214.5 kB / 409.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.237, allocations: 92.78 kB / 409.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.237, allocations: 3.984 kB / 409.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.2375, allocations: 173.8 kB / 409.7 MB, free: 364 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.2375, allocations: 0 / 409.7 MB, free: 364 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002116/0.2396, allocations: 0.5109 MB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.2397, allocations: 106.8 kB / 410.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.2399, allocations: 286.6 kB / 410.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.24, allocations: 29.7 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2401, allocations: 195.5 kB / 410.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.2401, allocations: 43.45 kB / 410.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.2402, allocations: 45.94 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2403, allocations: 338.8 kB / 411.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2407, allocations: 92.16 kB / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.2411, allocations: 202.1 kB / 411.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.2418, allocations: 317.3 kB / 411.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2418, allocations: 0 / 411.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001219/0.243, allocations: 415.7 kB / 412.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.2431, allocations: 37.7 kB / 412.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2431, allocations: 8.094 kB / 412.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.2434, allocations: 72.73 kB / 412.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2437, allocations: 55.91 kB / 412.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.246, allocations: 1.715 MB / 414.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.2463, allocations: 51.66 kB / 414.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2464, allocations: 12 kB / 414.2 MB, free: 11.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0001292/0.2465, allocations: 145.8 kB / 414.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2466, allocations: 27.7 kB / 414.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.2466, allocations: 25.72 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2466, allocations: 3.984 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2466, allocations: 0 / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.2467, allocations: 112.8 kB / 414.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.2468, allocations: 3.984 kB / 414.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.2471, allocations: 35.91 kB / 414.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.2472, allocations: 23.97 kB / 414.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.2485, allocations: 381.5 kB / 414.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.2496, allocations: 478.3 kB / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003185/0.2499, allocations: 83.97 kB / 415.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.2501, allocations: 202 kB / 415.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of Backend: time 4.4e-07/0.2501, allocations: 7.875 kB / 415.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009916/0.2511, allocations: 416.4 kB / 416.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009004/0.252, allocations: 0.9332 MB / 417 MB, free: 8.543 MB / 334.1 MB Notification: Performance of Templates: time 0.007949/0.26, allocations: 4.141 MB / 421.2 MB, free: 4.434 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches