Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 111.7 kB / 18.45 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 211.9 kB / 19.41 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004374/0.2128, allocations: 3.388 MB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2144, allocations: 0.861 MB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.2146, allocations: 8 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.2148, allocations: 63.36 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.2151, allocations: 127 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.2154, allocations: 147.8 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.2159, allocations: 0.4941 MB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002614/0.2161, allocations: 173 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.2164, allocations: 199.3 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.2166, allocations: 195.2 kB / 415.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.2167, allocations: 48 kB / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.2168, allocations: 56 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.2169, allocations: 95.62 kB / 415.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.2171, allocations: 222.9 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.2176, allocations: 0.5641 MB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2176, allocations: 0 / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2176, allocations: 4 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.2176, allocations: 0 / 416.6 MB, free: 10.96 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001044/0.2187, allocations: 0.717 MB / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2187, allocations: 12.03 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.2189, allocations: 52.64 kB / 417.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.2193, allocations: 324.8 kB / 417.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2193, allocations: 29.38 kB / 417.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.2194, allocations: 36.12 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.22, allocations: 398.1 kB / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.22, allocations: 0 / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.2201, allocations: 15.98 kB / 418.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2201, allocations: 8 kB / 418.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.2207, allocations: 303.9 kB / 418.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2228, allocations: 1.44 MB / 419.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.2234, allocations: 238.8 kB / 420.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.2236, allocations: 92.81 kB / 420.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2236, allocations: 4 kB / 420.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2237, allocations: 38.5 kB / 420.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.2237, allocations: 0 / 420.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002065/0.2257, allocations: 0.7617 MB / 421 MB, free: 6.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2258, allocations: 51.41 kB / 421.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2261, allocations: 320.4 kB / 421.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.2261, allocations: 29.7 kB / 421.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2263, allocations: 224.2 kB / 421.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.2263, allocations: 67.45 kB / 421.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.2264, allocations: 57.7 kB / 421.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2265, allocations: 330.8 kB / 422.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2267, allocations: 83.95 kB / 422.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.227, allocations: 165.3 kB / 422.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.2274, allocations: 247.6 kB / 422.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2274, allocations: 0 / 422.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009477/0.2284, allocations: 422.9 kB / 423 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2284, allocations: 12.06 kB / 423 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2284, allocations: 4 kB / 423 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/0.2289, allocations: 113.6 kB / 423.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.229, allocations: 51.91 kB / 423.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.2329, allocations: 3.553 MB / 426.7 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.2331, allocations: 39.77 kB / 426.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2332, allocations: 8 kB / 426.7 MB, free: 120 kB / 334.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.0001565/0.2333, allocations: 153.7 kB / 426.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2334, allocations: 39.98 kB / 426.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.2335, allocations: 30.25 kB / 427 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2335, allocations: 8.094 kB / 427 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2335, allocations: 3.984 kB / 427 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.2336, allocations: 104.9 kB / 427.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.2336, allocations: 15.88 kB / 427.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2338, allocations: 23.98 kB / 427.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.2339, allocations: 19.97 kB / 427.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001122/0.235, allocations: 422.3 kB / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006696/0.2357, allocations: 470.3 kB / 428 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001797/0.2359, allocations: 71.95 kB / 428.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.2361, allocations: 219.1 kB / 428.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.2361, allocations: 0 / 428.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.2375, allocations: 0.5334 MB / 428.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 0.001158/0.2386, allocations: 1.08 MB / 429.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.007975/0.2466, allocations: 3.969 MB / 433.9 MB, free: 8.887 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches