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.001455/0.001455, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001867/0.001867, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.499/1.499, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 2.124e-06/2.124e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.741e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.01171/0.01174, allocations: 5.356 MB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.01672, allocations: 1.509 MB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.01788, allocations: 27.88 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.01853, allocations: 174.2 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.01968, allocations: 309 kB / 279.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.02102, allocations: 419.3 kB / 280 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.02359, allocations: 1.437 MB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.02436, allocations: 289.5 kB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.02628, allocations: 0.7643 MB / 282.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.02737, allocations: 442.7 kB / 282.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.02765, allocations: 132 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.02815, allocations: 172 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.02849, allocations: 279.1 kB / 283.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.02924, allocations: 423 kB / 283.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.03219, allocations: 1.624 MB / 285.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.0322, allocations: 0 / 285.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.0322, allocations: 0 / 285.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.03224, allocations: 0 / 285.5 MB, free: 4.398 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.004274/0.03652, allocations: 1.326 MB / 286.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.03657, allocations: 8.031 kB / 286.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.03731, allocations: 200.2 kB / 287.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.03871, allocations: 0.5126 MB / 287.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.03881, allocations: 70.38 kB / 287.6 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.03906, allocations: 88.38 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002905/0.04196, allocations: 1.106 MB / 288.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.04199, allocations: 192 / 288.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.04214, allocations: 36.38 kB / 288.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.04219, allocations: 27.94 kB / 288.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.04508, allocations: 0.8433 MB / 289.7 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/0.2068, allocations: 2.779 MB / 292.5 MB, free: 27.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2079, allocations: 0.6282 MB / 293.1 MB, free: 27.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.2085, allocations: 393.3 kB / 293.5 MB, free: 26.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.2086, allocations: 21.47 kB / 293.5 MB, free: 26.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2086, allocations: 43.55 kB / 293.6 MB, free: 26.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.464e-06/0.2086, allocations: 0 / 293.6 MB, free: 26.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00438/0.213, allocations: 2.206 MB / 295.8 MB, free: 25.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.213, allocations: 62.66 kB / 295.9 MB, free: 25.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.2137, allocations: 0.5573 MB / 296.4 MB, free: 25.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.2137, allocations: 37.23 kB / 296.4 MB, free: 25.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.214, allocations: 453.6 kB / 296.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.2141, allocations: 269.2 kB / 297.2 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.2143, allocations: 146.4 kB / 297.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.2144, allocations: 385.6 kB / 297.7 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.2151, allocations: 330.5 kB / 298 MB, free: 24.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.2159, allocations: 469.2 kB / 298.5 MB, free: 24.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.2173, allocations: 0.8041 MB / 299.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.2173, allocations: 1.125 kB / 299.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002112/0.2195, allocations: 1.141 MB / 300.4 MB, free: 23.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2195, allocations: 7.906 kB / 300.4 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2195, allocations: 2.75 kB / 300.4 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.2202, allocations: 203.4 kB / 300.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.221, allocations: 204.6 kB / 300.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.2243, allocations: 2.732 MB / 303.5 MB, free: 20.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.225, allocations: 40.92 kB / 303.6 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.2251, allocations: 30.89 kB / 303.6 MB, free: 20.95 MB / 266.7 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.0003753/0.2255, allocations: 234.2 kB / 303.8 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.2257, allocations: 102.6 kB / 303.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.2258, allocations: 87.78 kB / 304 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2258, allocations: 8.594 kB / 304 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.2259, allocations: 2.219 kB / 304 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.2259, allocations: 5.969 kB / 304 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/0.2267, allocations: 0.612 MB / 304.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2267, allocations: 0.6094 kB / 304.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007262/0.2275, allocations: 152.3 kB / 304.8 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/0.228, allocations: 194.3 kB / 305 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.2281, allocations: 23.86 kB / 305 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.2309, allocations: 2.746 MB / 307.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2309, allocations: 0 / 307.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.2331, allocations: 1.441 MB / 309.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/0.2331, allocations: 63.53 kB / 309.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.2332, allocations: 21.34 kB / 309.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.2338, allocations: 47.97 kB / 309.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2339, allocations: 56.55 kB / 309.4 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.234, allocations: 23.98 kB / 309.4 MB, free: 16.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003286/0.2343, allocations: 386.9 kB / 309.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2343, allocations: 0 / 309.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.2351, allocations: 244 kB / 310 MB, free: 16.04 MB / 266.7 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.0001805/0.2353, allocations: 142.4 kB / 310.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.2371, allocations: 0.986 MB / 311.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2371, allocations: 8.125 kB / 311.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.2382, allocations: 0.6108 MB / 311.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2389, allocations: 139.8 kB / 311.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.2413, allocations: 1.832 MB / 313.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2415, allocations: 395 kB / 314.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.2419, allocations: 85.11 kB / 314.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.242, allocations: 52.48 kB / 314.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.242, allocations: 0 / 314.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.01522/0.2573, allocations: 10.83 MB / 325.1 MB, free: 1.129 MB / 266.7 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: 4.776034318027087]