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.Subtracter.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.001513/0.001513, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001665/0.001665, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.508/1.508, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [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.001955/0.001955, allocations: 71.83 kB / 378.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2719, allocations: 53.31 MB / 432.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005191/0.2771, allocations: 3.416 MB / 435.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2789, allocations: 0.8649 MB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.2791, allocations: 11.94 kB / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.2793, allocations: 63.36 kB / 436.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.2796, allocations: 131 kB / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.28, allocations: 143.8 kB / 436.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.2806, allocations: 0.498 MB / 437.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.2809, allocations: 125 kB / 437.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.2813, allocations: 187.3 kB / 437.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.2815, allocations: 203.1 kB / 437.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.2816, allocations: 52 kB / 437.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2817, allocations: 59.98 kB / 437.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.2818, allocations: 99.62 kB / 437.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.282, allocations: 219 kB / 438.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.2827, allocations: 0.57 MB / 438.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2827, allocations: 0 / 438.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2827, allocations: 0 / 438.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2827, allocations: 0 / 438.7 MB, free: 0.6875 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.001307/0.284, allocations: 0.7132 MB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2841, allocations: 8.031 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2843, allocations: 52.64 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.2848, allocations: 332.7 kB / 439.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.2849, allocations: 25.38 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.2849, allocations: 40.12 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.2857, allocations: 382.2 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2857, allocations: 7.938 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.2857, allocations: 16 kB / 440.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.2857, allocations: 12 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/0.2864, allocations: 295.9 kB / 440.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.2889, allocations: 1.448 MB / 442 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.2895, allocations: 222.7 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.2898, allocations: 88.83 kB / 442.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2898, allocations: 3.984 kB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.2898, allocations: 34.56 kB / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.2898, allocations: 0 / 442.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002352/0.2922, allocations: 0.756 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.2922, allocations: 51.41 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.2926, allocations: 320.5 kB / 443.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2926, allocations: 25.7 kB / 443.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2928, allocations: 244.1 kB / 443.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.2929, allocations: 55.48 kB / 443.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.293, allocations: 49.7 kB / 443.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2932, allocations: 334.8 kB / 444.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2934, allocations: 87.95 kB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.2937, allocations: 161.8 kB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.2942, allocations: 256.5 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2942, allocations: 4 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001037/0.2952, allocations: 422.9 kB / 445.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2952, allocations: 11.94 kB / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2952, allocations: 0 / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/0.2957, allocations: 117.7 kB / 445.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.2959, allocations: 35.92 kB / 445.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.3005, allocations: 3.569 MB / 448.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3008, allocations: 35.83 kB / 448.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3008, allocations: 16 kB / 448.8 MB, free: 5.859 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.0002104/0.301, allocations: 157.7 kB / 449 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.3011, allocations: 31.75 kB / 449 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.3011, allocations: 30.31 kB / 449.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3011, allocations: 4 kB / 449.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3011, allocations: 0 / 449.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3011, allocations: 0 / 449.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.3016, allocations: 369.4 kB / 449.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3016, allocations: 4.125 kB / 449.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.3017, allocations: 15.98 kB / 449.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/0.302, allocations: 117.7 kB / 449.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.302, allocations: 8 kB / 449.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.3058, allocations: 3.463 MB / 453 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3058, allocations: 7.984 kB / 453 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.3068, allocations: 443.3 kB / 453.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3069, allocations: 104.9 kB / 453.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.3069, allocations: 8 kB / 453.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.3071, allocations: 19.98 kB / 453.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3072, allocations: 15.97 kB / 453.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3072, allocations: 4 kB / 453.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3075, allocations: 227.1 kB / 453.8 MB, free: 496 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3075, allocations: 0 / 453.8 MB, free: 496 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005399/0.308, allocations: 99.84 kB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001631/0.3082, allocations: 103.2 kB / 454 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3094, allocations: 0.5089 MB / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3094, allocations: 0 / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.3099, allocations: 341.2 kB / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3103, allocations: 59.28 kB / 454.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.3115, allocations: 0.6073 MB / 455.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3119, allocations: 0.7872 MB / 456.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.3119, allocations: 19.44 kB / 456.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3119, allocations: 0 / 456.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.009541/0.3215, allocations: 6.797 MB / 463.2 MB, free: 7.062 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.8107074671424925]