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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001888/0.001888, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 63.91 kB / 373.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.136, allocations: 53.33 MB / 427.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004961/0.141, allocations: 3.39 MB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1427, allocations: 0.8727 MB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1428, allocations: 8 kB / 431.5 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.143, allocations: 67.3 kB / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2211/0.3641, allocations: 123.6 kB / 431.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.3647, allocations: 147.1 kB / 431.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006463/0.3653, allocations: 0.4955 MB / 432.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3656, allocations: 121.1 kB / 432.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.3659, allocations: 191.2 kB / 432.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.3662, allocations: 200.3 kB / 432.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.3662, allocations: 48.84 kB / 432.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3664, allocations: 54.97 kB / 432.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.3665, allocations: 102.5 kB / 433 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.3667, allocations: 222.1 kB / 433.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.3674, allocations: 0.572 MB / 433.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3674, allocations: 0.5938 kB / 433.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3674, allocations: 0 / 433.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3674, allocations: 1.219 kB / 433.8 MB, free: 7.875 MB / 350.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.00118/0.3686, allocations: 0.7098 MB / 434.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3686, allocations: 12 kB / 434.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.3689, allocations: 51.42 kB / 434.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.3694, allocations: 327.7 kB / 434.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.3695, allocations: 30.28 kB / 434.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.3695, allocations: 34 kB / 434.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.3703, allocations: 389.2 kB / 435.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.3704, allocations: 4.75 kB / 435.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.3704, allocations: 17.22 kB / 435.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.3704, allocations: 8.781 kB / 435.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.3711, allocations: 300.6 kB / 435.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3734, allocations: 1.437 MB / 437.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.374, allocations: 229.3 kB / 437.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3742, allocations: 89.61 kB / 437.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.3743, allocations: 1.156 kB / 437.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3743, allocations: 39.73 kB / 437.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.3743, allocations: 0 / 437.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002308/0.3766, allocations: 0.7547 MB / 438.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.3766, allocations: 54.66 kB / 438.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.377, allocations: 313.1 kB / 438.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.377, allocations: 26.92 kB / 438.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3771, allocations: 235.2 kB / 438.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3772, allocations: 65.95 kB / 438.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.3773, allocations: 46.02 kB / 438.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.3773, allocations: 342.1 kB / 439.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3776, allocations: 80.67 kB / 439.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3778, allocations: 170.8 kB / 439.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.3783, allocations: 256.7 kB / 439.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3783, allocations: 0 / 439.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001031/0.3793, allocations: 423.2 kB / 440.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3793, allocations: 6.438 kB / 440.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3793, allocations: 2.281 kB / 440.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.3798, allocations: 117.5 kB / 440.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.38, allocations: 39.92 kB / 440.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.3835, allocations: 3.564 MB / 443.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3837, allocations: 36.8 kB / 443.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.3837, allocations: 12.94 kB / 443.9 MB, free: 1.43 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.0001561/0.3839, allocations: 164 kB / 444.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.384, allocations: 35.25 kB / 444.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.384, allocations: 33.84 kB / 444.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.384, allocations: 2.125 kB / 444.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.384, allocations: 1.031 kB / 444.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.384, allocations: 0.7969 kB / 444.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.3844, allocations: 362.4 kB / 444.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3844, allocations: 1.391 kB / 444.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.3845, allocations: 14.05 kB / 444.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/0.3849, allocations: 114.6 kB / 444.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3849, allocations: 9 kB / 444.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.3889, allocations: 3.47 MB / 448.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3889, allocations: 4.969 kB / 448.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.39, allocations: 429.7 kB / 448.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.3901, allocations: 110.3 kB / 448.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3901, allocations: 1.859 kB / 448.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3903, allocations: 30.72 kB / 448.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.3904, allocations: 16.72 kB / 448.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3904, allocations: 3.812 kB / 448.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.3907, allocations: 221.2 kB / 448.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3907, allocations: 0 / 448.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000529/0.3912, allocations: 100.2 kB / 449 MB, free: 13.29 MB / 366.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.0001638/0.3914, allocations: 107.9 kB / 449.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3926, allocations: 0.5035 MB / 449.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3926, allocations: 5.562 kB / 449.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.3931, allocations: 337.2 kB / 450 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3935, allocations: 52.36 kB / 450 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.3947, allocations: 0.5808 MB / 450.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.3952, allocations: 0.7851 MB / 451.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3953, allocations: 29.86 kB / 451.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.3953, allocations: 18.98 kB / 451.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3953, allocations: 1.5 kB / 451.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Templates: time 0.009917/0.4053, allocations: 4.061 MB / 455.5 MB, free: 11.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.882682841271162]