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.001835/0.001835, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002362/0.002362, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.505/1.505, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.503e-06/1.503e-06, allocations: 0 / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.224e-05, allocations: 2.312 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005071/0.005103, allocations: 3.125 MB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.007123, allocations: 0.8337 MB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.007321, allocations: 7.938 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.007541, allocations: 71.3 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.007811, allocations: 126.9 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.008242, allocations: 151.8 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006472/0.008889, allocations: 0.5095 MB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.009175, allocations: 129.3 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.009669, allocations: 295.3 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.009921, allocations: 135.6 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.01, allocations: 48 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.01013, allocations: 59.97 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.01024, allocations: 103.6 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.01043, allocations: 151.7 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.01118, allocations: 0.5764 MB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01119, allocations: 4 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01119, allocations: 0 / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.0112, allocations: 0 / 278.7 MB, free: 11.44 MB / 266.7 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.001348/0.01254, allocations: 0.6339 MB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.01259, allocations: 8.031 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.01287, allocations: 80.69 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.01342, allocations: 277.9 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.01345, allocations: 25.38 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.01351, allocations: 36.38 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.0144, allocations: 497.5 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.01442, allocations: 3.938 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.01446, allocations: 16 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01447, allocations: 8 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.01519, allocations: 299.9 kB / 280.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.01765, allocations: 1.246 MB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.01834, allocations: 226.7 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.01857, allocations: 92.8 kB / 282.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.01859, allocations: 0 / 282.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.01863, allocations: 42.56 kB / 282.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01863, allocations: 0 / 282.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.002332/0.02096, allocations: 0.6005 MB / 282.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.02101, allocations: 51.41 kB / 282.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.02139, allocations: 285.8 kB / 283.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.02142, allocations: 29.7 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.02162, allocations: 236 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.02169, allocations: 59.52 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.02179, allocations: 53.59 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.02199, allocations: 338.8 kB / 283.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.02222, allocations: 87.97 kB / 283.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.02253, allocations: 153.4 kB / 284 MB, free: 5.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.02307, allocations: 248.4 kB / 284.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02307, allocations: 0 / 284.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001124/0.02419, allocations: 434.9 kB / 284.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.02421, allocations: 8 kB / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02422, allocations: 0 / 284.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008565/0.02508, allocations: 189.6 kB / 284.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.02525, allocations: 39.97 kB / 284.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.03003, allocations: 3.308 MB / 288.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.03029, allocations: 35.77 kB / 288.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.03031, allocations: 12 kB / 288.2 MB, free: 1.32 MB / 266.7 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.0002311/0.03054, allocations: 157.8 kB / 288.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.0306, allocations: 27.86 kB / 288.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.03066, allocations: 30.11 kB / 288.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.03067, allocations: 0 / 288.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03067, allocations: 128 / 288.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.03068, allocations: 3.984 kB / 288.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.03104, allocations: 261 kB / 288.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03104, allocations: 0 / 288.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.03113, allocations: 16 kB / 288.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007209/0.03185, allocations: 177.6 kB / 288.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.03187, allocations: 4 kB / 288.9 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/0.03599, allocations: 3.203 MB / 292.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.03599, allocations: 0 / 292.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.03701, allocations: 444.5 kB / 292.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.03707, allocations: 27.84 kB / 292.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.0371, allocations: 0 / 292.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.03732, allocations: 24.12 kB / 292.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.0374, allocations: 19.95 kB / 292.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.03742, allocations: 7.984 kB / 292.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.03769, allocations: 197.2 kB / 292.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03769, allocations: 4 kB / 292.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.0383, allocations: 103.7 kB / 292.9 MB, free: 12.38 MB / 282.7 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.0001813/0.03848, allocations: 103.2 kB / 293 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.03976, allocations: 0.5119 MB / 293.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.03976, allocations: 4 kB / 293.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.04027, allocations: 333 kB / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.04069, allocations: 36.73 kB / 293.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.04192, allocations: 0.5631 MB / 294.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.04212, allocations: 172.8 kB / 294.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.04221, allocations: 30.27 kB / 294.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.04227, allocations: 20.5 kB / 294.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.04227, allocations: 0 / 294.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of Templates: time 0.009675/0.05194, allocations: 3.638 MB / 298.3 MB, free: 6.926 MB / 282.7 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/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_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.355210561072454]