Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001926/0.001926, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.002356/0.002356, allocations: 165 kB / 23.95 MB, free: 4.156 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.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.139e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007146/0.007167, allocations: 5.37 MB / 330.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.01051, allocations: 1.519 MB / 332 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.01097, allocations: 31.84 kB / 332 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.01141, allocations: 171.6 kB / 332.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.01204, allocations: 307.2 kB / 332.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.01298, allocations: 422 kB / 332.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.0145, allocations: 1.434 MB / 334.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004824/0.01498, allocations: 280.5 kB / 334.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.01604, allocations: 0.7659 MB / 335.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.01666, allocations: 436.6 kB / 335.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.01684, allocations: 135.2 kB / 335.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.01717, allocations: 184.4 kB / 336.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.01742, allocations: 276.7 kB / 336.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.01788, allocations: 424.6 kB / 336.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.01961, allocations: 1.614 MB / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01961, allocations: 0 / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01962, allocations: 0 / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.01964, allocations: 1.188 kB / 338.4 MB, free: 7.418 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.00278/0.02242, allocations: 1.331 MB / 339.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.02245, allocations: 12.03 kB / 339.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.02284, allocations: 128.2 kB / 339.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/0.02367, allocations: 0.4932 MB / 340.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.02373, allocations: 66.38 kB / 340.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.02389, allocations: 100.3 kB / 340.5 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.02575, allocations: 1.098 MB / 341.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.02577, allocations: 192 / 341.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.02586, allocations: 40.38 kB / 341.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.02589, allocations: 23.94 kB / 341.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.02771, allocations: 0.8472 MB / 342.5 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.03335, allocations: 2.766 MB / 345.3 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.0346, allocations: 0.6335 MB / 345.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.03536, allocations: 398.1 kB / 346.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.03542, allocations: 12.59 kB / 346.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.03546, allocations: 39.22 kB / 346.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/0.03546, allocations: 0 / 346.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004985/0.04044, allocations: 2.186 MB / 348.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.0405, allocations: 64.06 kB / 348.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.04121, allocations: 0.5576 MB / 349.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.04127, allocations: 37.7 kB / 349.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.04165, allocations: 460.2 kB / 349.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.04188, allocations: 261.7 kB / 349.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.04216, allocations: 146.6 kB / 350.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.04237, allocations: 382.8 kB / 350.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007346/0.04311, allocations: 321.9 kB / 350.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008705/0.04398, allocations: 476.6 kB / 351.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.04556, allocations: 0.8008 MB / 352 MB, free: 9.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.04557, allocations: 4 kB / 352 MB, free: 9.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002399/0.04797, allocations: 1.103 MB / 353.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.048, allocations: 8 kB / 353.1 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.04801, allocations: 4 kB / 353.1 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.04861, allocations: 199.4 kB / 353.3 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.04956, allocations: 199.8 kB / 353.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004156/0.05372, allocations: 2.718 MB / 356.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.05449, allocations: 43.97 kB / 356.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.05457, allocations: 36 kB / 356.3 MB, free: 5.301 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004392/0.055, allocations: 237.6 kB / 356.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.05515, allocations: 79.52 kB / 356.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.05534, allocations: 86.59 kB / 356.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.05535, allocations: 8 kB / 356.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.05536, allocations: 4 kB / 356.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.05538, allocations: 7.922 kB / 356.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.05639, allocations: 0.6113 MB / 357.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0564, allocations: 4 kB / 357.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.05715, allocations: 143.8 kB / 357.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.05769, allocations: 176.7 kB / 357.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.05775, allocations: 19.98 kB / 357.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.06169, allocations: 2.727 MB / 360.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.06169, allocations: 4 kB / 360.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.06466, allocations: 1.409 MB / 361.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.06485, allocations: 71.45 kB / 361.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.06496, allocations: 16 kB / 361.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.06561, allocations: 51.95 kB / 362 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.06576, allocations: 56.73 kB / 362 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.06582, allocations: 27.98 kB / 362 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.06632, allocations: 382.7 kB / 362.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06632, allocations: 0 / 362.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008864/0.0672, allocations: 240 kB / 362.6 MB, free: 14.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.06745, allocations: 143 kB / 362.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.06984, allocations: 0.9897 MB / 363.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.06985, allocations: 7.938 kB / 363.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.0713, allocations: 0.6083 MB / 364.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006885/0.07199, allocations: 118.3 kB / 364.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.07526, allocations: 1.814 MB / 366.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.07569, allocations: 391 kB / 366.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003671/0.07605, allocations: 85.11 kB / 366.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.07625, allocations: 56.47 kB / 366.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.07625, allocations: 4 kB / 366.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of Templates: time 0.02084/0.09709, allocations: 10.77 MB / 377.6 MB, free: 15.92 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.858243886381388]