Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.84 kB / 378.8 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2265, allocations: 53.31 MB / 432.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004293/0.2308, allocations: 2.839 MB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2319, allocations: 0.6855 MB / 435.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.232, allocations: 4 kB / 435.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.2322, allocations: 47.5 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2324, allocations: 99.19 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2327, allocations: 79.89 kB / 435.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000455/0.2331, allocations: 378.5 kB / 436.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2333, allocations: 90.94 kB / 436.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.2335, allocations: 139.5 kB / 436.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2337, allocations: 167.3 kB / 436.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2338, allocations: 36 kB / 436.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.2339, allocations: 32 kB / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.2339, allocations: 79.69 kB / 436.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.2341, allocations: 163.2 kB / 436.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.2345, allocations: 380.5 kB / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2345, allocations: 0 / 437.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2345, allocations: 3.938 kB / 437.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2345, allocations: 3.938 kB / 437.3 MB, free: 2.211 MB / 334.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.001393/0.2359, allocations: 0.6612 MB / 437.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.236, allocations: 8.031 kB / 437.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.2361, allocations: 36.7 kB / 438 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.2365, allocations: 272.8 kB / 438.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2365, allocations: 20.92 kB / 438.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.2366, allocations: 32.31 kB / 438.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.2373, allocations: 307.6 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2373, allocations: 0 / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.2373, allocations: 12 kB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.2373, allocations: 4 kB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.2382, allocations: 253.6 kB / 438.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.24, allocations: 1.09 MB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.2409, allocations: 202.6 kB / 440.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.2412, allocations: 88.78 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2412, allocations: 7.938 kB / 440.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.2417, allocations: 165.9 kB / 440.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.2417, allocations: 0 / 440.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002233/0.244, allocations: 0.5029 MB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/0.244, allocations: 110.8 kB / 441 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.2444, allocations: 294.5 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2444, allocations: 29.7 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2446, allocations: 192 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.2446, allocations: 47.67 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.2447, allocations: 53.89 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2449, allocations: 334.8 kB / 441.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.2452, allocations: 92.16 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.2457, allocations: 202.6 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.2464, allocations: 309.4 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2464, allocations: 0 / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001306/0.2478, allocations: 426.6 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.2478, allocations: 37.69 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2478, allocations: 4 kB / 443 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.2482, allocations: 76.84 kB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2484, allocations: 47.89 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.251, allocations: 1.708 MB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.2514, allocations: 59.8 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.2514, allocations: 16.19 kB / 444.9 MB, free: 10 MB / 350.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.0001605/0.2516, allocations: 149.6 kB / 445 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.2516, allocations: 31.75 kB / 445.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.2517, allocations: 29.7 kB / 445.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2517, allocations: 4 kB / 445.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2517, allocations: 4 kB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2518, allocations: 112.9 kB / 445.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2519, allocations: 4 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2521, allocations: 35.89 kB / 445.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.2522, allocations: 19.97 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001422/0.2536, allocations: 377.4 kB / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00115/0.2548, allocations: 482.4 kB / 446.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003228/0.2551, allocations: 75.98 kB / 446.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.2553, allocations: 206 kB / 446.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2553, allocations: 0 / 446.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2564, allocations: 404 kB / 446.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of SimCode: time 0.001076/0.2575, allocations: 0.9473 MB / 447.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of Templates: time 0.00899/0.2665, allocations: 4.281 MB / 452 MB, free: 2.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1948728882707655]