Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001499/0.001499, allocations: 81.73 kB / 20.49 MB, free: 1.211 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.001654/0.001654, allocations: 167.6 kB / 23.75 MB, free: 4.23 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.676/1.676, allocations: 177.1 MB / 204 MB, free: 9.23 MB / 190.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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 62.62 kB / 324.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1256, allocations: 53.39 MB / 378.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007079/0.1327, allocations: 5.353 MB / 383.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.1363, allocations: 1.509 MB / 385 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.1372, allocations: 19.94 kB / 385.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.1378, allocations: 174.3 kB / 385.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1389, allocations: 293.2 kB / 385.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.14, allocations: 419.4 kB / 385.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.1417, allocations: 1.399 MB / 387.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.1423, allocations: 277.6 kB / 387.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.1434, allocations: 0.7989 MB / 388.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.1441, allocations: 0.4977 MB / 388.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1442, allocations: 136 kB / 389 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.1446, allocations: 184 kB / 389.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.1448, allocations: 267.2 kB / 389.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.1453, allocations: 0.4901 MB / 389.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.1469, allocations: 1.557 MB / 391.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1469, allocations: 4 kB / 391.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1469, allocations: 0 / 391.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.147, allocations: 0 / 391.5 MB, free: 2.316 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002784/0.1497, allocations: 1.334 MB / 392.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1498, allocations: 16.03 kB / 392.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.1502, allocations: 128.2 kB / 393 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1512, allocations: 0.5055 MB / 393.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.1513, allocations: 66.38 kB / 393.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1514, allocations: 88.38 kB / 393.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.1533, allocations: 1.11 MB / 394.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1533, allocations: 0 / 394.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.1534, allocations: 36 kB / 394.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.1535, allocations: 24 kB / 394.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.1552, allocations: 0.8433 MB / 395.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.1607, allocations: 2.762 MB / 398.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1619, allocations: 0.6296 MB / 399 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.1626, allocations: 395.4 kB / 399.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.1626, allocations: 12.64 kB / 399.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1627, allocations: 39.22 kB / 399.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.955e-06/0.1627, allocations: 0 / 399.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.00482/0.1675, allocations: 2.19 MB / 401.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.1676, allocations: 64.06 kB / 401.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.1683, allocations: 0.5536 MB / 402.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.1684, allocations: 37.7 kB / 402.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.1687, allocations: 460.2 kB / 402.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.169, allocations: 269.7 kB / 403 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.1692, allocations: 146.6 kB / 403.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.1695, allocations: 382.8 kB / 403.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.1701, allocations: 325.9 kB / 403.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.171, allocations: 472.5 kB / 404.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.1724, allocations: 0.8008 MB / 405.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1724, allocations: 4 kB / 405.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002226/0.1747, allocations: 1.103 MB / 406.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1747, allocations: 11.94 kB / 406.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1747, allocations: 4 kB / 406.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.1753, allocations: 187.6 kB / 406.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.1762, allocations: 199.8 kB / 406.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.1802, allocations: 2.725 MB / 409.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.1808, allocations: 32.05 kB / 409.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.1809, allocations: 35.98 kB / 409.4 MB, free: 15.85 MB / 382.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.0004261/0.1813, allocations: 229.7 kB / 409.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1814, allocations: 79.53 kB / 409.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.1816, allocations: 94.47 kB / 409.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1816, allocations: 8 kB / 409.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.1816, allocations: 7.938 kB / 409.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1816, allocations: 7.969 kB / 409.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.1826, allocations: 0.6114 MB / 410.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1826, allocations: 0 / 410.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.1833, allocations: 143.8 kB / 410.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005195/0.1838, allocations: 184.6 kB / 410.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.1839, allocations: 19.98 kB / 410.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.1876, allocations: 2.737 MB / 413.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1876, allocations: 0 / 413.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.1902, allocations: 1.416 MB / 414.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1903, allocations: 67.52 kB / 415 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.1904, allocations: 16 kB / 415 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.191, allocations: 55.89 kB / 415.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.1911, allocations: 56.55 kB / 415.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.1912, allocations: 27.98 kB / 415.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.1916, allocations: 374.8 kB / 415.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1916, allocations: 0 / 415.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008183/0.1925, allocations: 247.9 kB / 415.8 MB, free: 9.34 MB / 382.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.000247/0.1927, allocations: 130.2 kB / 415.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.195, allocations: 1.002 MB / 416.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.195, allocations: 0 / 416.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.1964, allocations: 0.6158 MB / 417.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.1971, allocations: 122.5 kB / 417.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2006, allocations: 2 MB / 419.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.201, allocations: 395 kB / 420 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003676/0.2014, allocations: 85.11 kB / 420.1 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.2015, allocations: 52.48 kB / 420.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2015, allocations: 0 / 420.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of Templates: time 0.02058/0.2221, allocations: 10.83 MB / 431 MB, free: 10.2 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.284195078536868]