Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001022/0.001022, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002534, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001047/0.001047, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.00256, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9656/0.9656, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.069, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.918e-05, allocations: 5.266 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002572/0.002591, allocations: 2.85 MB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.003326, allocations: 0.6969 MB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.00341, allocations: 4 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.143e-05/0.003482, allocations: 47.56 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.0036, allocations: 95.08 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.00374, allocations: 87.81 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.003999, allocations: 398.2 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.004129, allocations: 93.91 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.004335, allocations: 252.7 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.00446, allocations: 127.6 kB / 249.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.004501, allocations: 36 kB / 249.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.004534, allocations: 32 kB / 249.7 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.004575, allocations: 55.81 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.004649, allocations: 87.88 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.004856, allocations: 231.1 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.004868, allocations: 4 kB / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004869, allocations: 4 kB / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.00488, allocations: 0 / 250.1 MB, free: 8.531 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006567/0.005537, allocations: 0.592 MB / 250.7 MB, free: 7.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.005563, allocations: 8.031 kB / 250.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.005615, allocations: 48.89 kB / 250.8 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.005798, allocations: 182.1 kB / 250.9 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.005812, allocations: 20.88 kB / 250.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.005835, allocations: 24.38 kB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.006096, allocations: 279.3 kB / 251.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.006106, allocations: 192 / 251.2 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006124, allocations: 12.38 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006131, allocations: 7.938 kB / 251.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.006266, allocations: 77.41 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009261/0.007192, allocations: 0.7975 MB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.007361, allocations: 82.48 kB / 252.2 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.007407, allocations: 28.78 kB / 252.2 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.007429, allocations: 0 / 252.2 MB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.007603, allocations: 165.3 kB / 252.4 MB, free: 6.031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.007604, allocations: 0 / 252.4 MB, free: 6.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005837/0.008187, allocations: 198.2 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.008218, allocations: 59.41 kB / 252.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.008383, allocations: 240.9 kB / 252.9 MB, free: 5.512 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.008402, allocations: 29.7 kB / 252.9 MB, free: 5.477 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.008494, allocations: 195.8 kB / 253.1 MB, free: 5.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.008522, allocations: 39.67 kB / 253.2 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.008593, allocations: 53.91 kB / 253.2 MB, free: 5.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.008679, allocations: 330.8 kB / 253.5 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.008741, allocations: 57.92 kB / 253.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.008871, allocations: 223.1 kB / 253.8 MB, free: 4.496 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.009032, allocations: 185.5 kB / 254 MB, free: 4.266 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009034, allocations: 0 / 254 MB, free: 4.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003561/0.009391, allocations: 265.1 kB / 254.2 MB, free: 3.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.009427, allocations: 33.7 kB / 254.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.009434, allocations: 4 kB / 254.3 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/0.009679, allocations: 76.81 kB / 254.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.00981, allocations: 47.92 kB / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.01082, allocations: 1.321 MB / 255.7 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01098, allocations: 43.77 kB / 255.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01099, allocations: 12 kB / 255.8 MB, free: 2.359 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.01108, allocations: 125.8 kB / 255.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.0111, allocations: 20.02 kB / 255.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.01114, allocations: 25.77 kB / 255.9 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01114, allocations: 3.938 kB / 256 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01114, allocations: 0 / 256 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.01115, allocations: 4 kB / 256 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01127, allocations: 137.7 kB / 256.1 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01128, allocations: 0 / 256.1 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.01133, allocations: 15.98 kB / 256.1 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.01138, allocations: 19.86 kB / 256.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.01156, allocations: 64.8 kB / 256.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01157, allocations: 4 kB / 256.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008147/0.01238, allocations: 1.292 MB / 257.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01239, allocations: 0 / 257.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.0126, allocations: 157.7 kB / 257.6 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.01263, allocations: 4 kB / 257.6 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.01272, allocations: 15.98 kB / 257.7 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01278, allocations: 27.95 kB / 257.7 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.01278, allocations: 0 / 257.7 MB, free: 328 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.053e-05/0.01285, allocations: 78.78 kB / 257.8 MB, free: 244 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01285, allocations: 3.938 kB / 257.8 MB, free: 240 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01311, allocations: 79.83 kB / 257.8 MB, free: 160 kB / 250.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.357e-05/0.0132, allocations: 92.39 kB / 257.9 MB, free: 60 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.01353, allocations: 315.4 kB / 258.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.01355, allocations: 8.797 kB / 258.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.01368, allocations: 167.4 kB / 258.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.01385, allocations: 60.41 kB / 258.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.01576, allocations: 456.4 kB / 258.9 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.01581, allocations: 88.17 kB / 259 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.01589, allocations: 22.28 kB / 259 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.01601, allocations: 95.34 kB / 259.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01601, allocations: 0 / 259.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Templates: time 0.006968/0.02298, allocations: 4.414 MB / 263.5 MB, free: 10.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.479181661270559]