Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001311/0.001311, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001468/0.001468, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [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.002018/0.002018, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2219, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004272/0.2261, allocations: 2.98 MB / 435.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2274, allocations: 0.7674 MB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2276, allocations: 7.938 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2277, allocations: 51.5 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2279, allocations: 103.2 kB / 436 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2282, allocations: 115.8 kB / 436.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004523/0.2286, allocations: 418.4 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.2288, allocations: 103.2 kB / 436.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.229, allocations: 151.5 kB / 436.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.2292, allocations: 171.2 kB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.2293, allocations: 40 kB / 437 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.563e-05/0.2294, allocations: 40 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.2294, allocations: 79.69 kB / 437.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.2296, allocations: 175.2 kB / 437.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2301, allocations: 455.8 kB / 437.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2301, allocations: 0 / 437.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2301, allocations: 0 / 437.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.2301, allocations: 0 / 437.7 MB, free: 1.75 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001324/0.2314, allocations: 0.6845 MB / 438.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2315, allocations: 12.03 kB / 438.4 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.2316, allocations: 40.7 kB / 438.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.232, allocations: 307.7 kB / 438.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.232, allocations: 20.94 kB / 438.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.232, allocations: 24.38 kB / 438.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.2328, allocations: 331.9 kB / 439.1 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2328, allocations: 0 / 439.1 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2328, allocations: 8 kB / 439.1 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2328, allocations: 8 kB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008626/0.2337, allocations: 286 kB / 439.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.2356, allocations: 1.143 MB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.2365, allocations: 254.5 kB / 440.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2368, allocations: 96.78 kB / 440.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2369, allocations: 4 kB / 440.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.2373, allocations: 177.9 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.2373, allocations: 4.156 kB / 441.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00245/0.2398, allocations: 0.6669 MB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.2399, allocations: 110.8 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2402, allocations: 282.7 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.2402, allocations: 29.7 kB / 442.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2403, allocations: 200 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.2404, allocations: 43.64 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.2405, allocations: 53.94 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2406, allocations: 334.8 kB / 442.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.241, allocations: 104.4 kB / 442.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.2414, allocations: 200.9 kB / 443.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/0.2422, allocations: 314.5 kB / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2422, allocations: 0 / 443.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001329/0.2435, allocations: 475.7 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.2436, allocations: 33.75 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2436, allocations: 11.94 kB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.244, allocations: 84.75 kB / 444 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2442, allocations: 51.95 kB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.247, allocations: 1.995 MB / 446 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.2473, allocations: 55.73 kB / 446.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.2474, allocations: 12.06 kB / 446.1 MB, free: 8.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.2475, allocations: 153.7 kB / 446.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.2476, allocations: 19.86 kB / 446.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.2476, allocations: 29.83 kB / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2476, allocations: 0 / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2476, allocations: 0 / 446.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.2477, allocations: 108.9 kB / 446.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.2478, allocations: 7.938 kB / 446.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.2481, allocations: 35.95 kB / 446.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.2481, allocations: 19.97 kB / 446.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001393/0.2495, allocations: 444.2 kB / 446.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001172/0.2507, allocations: 0.5101 MB / 447.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003606/0.251, allocations: 95.98 kB / 447.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.2513, allocations: 205.9 kB / 447.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of Backend: time 3.21e-07/0.2513, allocations: 0 / 447.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2523, allocations: 429.2 kB / 448.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of SimCode: time 0.001164/0.2535, allocations: 0.9599 MB / 449.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.00872/0.2622, allocations: 4.351 MB / 453.4 MB, free: 1.395 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.187586412765086]