Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 110.8 kB / 21.2 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 223.5 kB / 24.5 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 43.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2125, allocations: 53.38 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004735/0.2172, allocations: 3.124 MB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2187, allocations: 0.826 MB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2188, allocations: 11.88 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.219, allocations: 67.36 kB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.2193, allocations: 119 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2196, allocations: 147.8 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.2201, allocations: 0.4902 MB / 437.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.2204, allocations: 137.3 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.2207, allocations: 195.3 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2209, allocations: 199.1 kB / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.221, allocations: 52 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2211, allocations: 56 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.2212, allocations: 95.67 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.2214, allocations: 183.2 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.222, allocations: 0.5698 MB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.222, allocations: 0 / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.222, allocations: 0 / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.222, allocations: 7.938 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001222/0.2232, allocations: 0.6339 MB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2232, allocations: 12.03 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.2234, allocations: 56.69 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.2239, allocations: 266.7 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.2239, allocations: 25.38 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.224, allocations: 36.12 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.2248, allocations: 493 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2248, allocations: 4 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.2249, allocations: 16 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2249, allocations: 8 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.2256, allocations: 299.8 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.2278, allocations: 1.237 MB / 441.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.2284, allocations: 222.7 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.2287, allocations: 84.83 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2287, allocations: 11.92 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2287, allocations: 34.5 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 6.151e-06/0.2287, allocations: 4 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002276/0.231, allocations: 0.5965 MB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.231, allocations: 55.41 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.2314, allocations: 289.7 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2314, allocations: 29.7 kB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2316, allocations: 228.1 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.2316, allocations: 63.5 kB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.2317, allocations: 57.66 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2319, allocations: 338.8 kB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.2321, allocations: 83.95 kB / 443.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.2324, allocations: 157.4 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.2329, allocations: 251.4 kB / 444.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2329, allocations: 0 / 444.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001077/0.234, allocations: 423 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.234, allocations: 4 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.234, allocations: 4 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.2345, allocations: 117.6 kB / 444.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.2346, allocations: 35.98 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.2391, allocations: 3.296 MB / 448 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.2393, allocations: 43.7 kB / 448.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.2393, allocations: 12 kB / 448.1 MB, free: 6.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.2395, allocations: 153.2 kB / 448.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.2396, allocations: 27.86 kB / 448.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.2396, allocations: 26.17 kB / 448.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2396, allocations: 4 kB / 448.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2396, allocations: 0 / 448.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2397, allocations: 35.72 kB / 448.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.2397, allocations: 0 / 448.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.24, allocations: 23.98 kB / 448.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.24, allocations: 19.95 kB / 448.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001196/0.2412, allocations: 424.6 kB / 448.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007587/0.242, allocations: 474.3 kB / 449.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000202/0.2422, allocations: 67.89 kB / 449.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.2424, allocations: 193.2 kB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of Backend: time 4.6e-07/0.2424, allocations: 0 / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2437, allocations: 0.5285 MB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 0.001261/0.245, allocations: 1.056 MB / 451.1 MB, free: 3.352 MB / 350.1 MB Notification: Performance of Templates: time 0.008957/0.2539, allocations: 4.212 MB / 455.3 MB, free: 15.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.316959793999558]