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.001248/0.001248, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00138/0.00138, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001565/0.001565, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2622, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.006588/0.2688, allocations: 3.12 MB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2711, allocations: 0.8377 MB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.2713, allocations: 4 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.2716, allocations: 71.3 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.2719, allocations: 119 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.2725, allocations: 155.8 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.2732, allocations: 0.4902 MB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.2735, allocations: 132.3 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.2739, allocations: 191.4 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.2741, allocations: 203.1 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.2742, allocations: 52 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2743, allocations: 48 kB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.2744, allocations: 107.6 kB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2746, allocations: 175.2 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.2753, allocations: 0.5718 MB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2753, allocations: 4 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2753, allocations: 0 / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2753, allocations: 0 / 438.6 MB, free: 424 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.001252/0.2765, allocations: 0.6439 MB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2766, allocations: 8.031 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2768, allocations: 56.64 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.2773, allocations: 266.7 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2774, allocations: 29.38 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.2774, allocations: 36.06 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.2783, allocations: 497 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2783, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.2783, allocations: 16 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2783, allocations: 8 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.279, allocations: 299.8 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.2813, allocations: 1.233 MB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.2819, allocations: 226.7 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.2821, allocations: 88.8 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2822, allocations: 4 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2822, allocations: 38.56 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2822, allocations: 0 / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002257/0.2845, allocations: 0.6004 MB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2845, allocations: 51.41 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.2849, allocations: 285.8 kB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2849, allocations: 29.7 kB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.2851, allocations: 236.1 kB / 443.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.2851, allocations: 55.53 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.2852, allocations: 57.66 kB / 443.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2854, allocations: 338.8 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.2856, allocations: 87.95 kB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.2859, allocations: 157.4 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.2863, allocations: 245.2 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2863, allocations: 4 kB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001051/0.2874, allocations: 421.7 kB / 444.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2874, allocations: 4 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2874, allocations: 4 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.2879, allocations: 117.6 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2881, allocations: 43.97 kB / 444.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/0.2924, allocations: 3.304 MB / 448 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.2926, allocations: 35.77 kB / 448.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.2927, allocations: 8 kB / 448.1 MB, free: 6.426 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.0001898/0.2928, allocations: 149.8 kB / 448.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.2929, allocations: 27.92 kB / 448.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.293, allocations: 26.11 kB / 448.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.293, allocations: 4 kB / 448.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.293, allocations: 3.938 kB / 448.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.293, allocations: 7.922 kB / 448.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.2933, allocations: 253.1 kB / 448.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2934, allocations: 0 / 448.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.2934, allocations: 15.94 kB / 448.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.2938, allocations: 109.6 kB / 448.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2938, allocations: 7.984 kB / 448.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.2976, allocations: 3.199 MB / 451.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2976, allocations: 3.938 kB / 451.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/0.2986, allocations: 424.9 kB / 452.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.2986, allocations: 23.81 kB / 452.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2987, allocations: 4 kB / 452.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.2989, allocations: 31.97 kB / 452.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.299, allocations: 19.84 kB / 452.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.299, allocations: 8 kB / 452.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.2992, allocations: 197.2 kB / 452.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2992, allocations: 0 / 452.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.2997, allocations: 103.8 kB / 452.7 MB, free: 1.562 MB / 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.0001296/0.2999, allocations: 99.34 kB / 452.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.3011, allocations: 0.5081 MB / 453.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3011, allocations: 0 / 453.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004635/0.3015, allocations: 341.7 kB / 453.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3019, allocations: 40.45 kB / 453.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.303, allocations: 0.5714 MB / 454.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.3032, allocations: 172.8 kB / 454.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.3033, allocations: 22.3 kB / 454.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3033, allocations: 15.44 kB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3033, allocations: 0 / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Templates: time 0.008786/0.3121, allocations: 4.077 MB / 458.5 MB, free: 11.67 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 -s gbode -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.370860331997392]