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.0009934/0.0009934, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002364, 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.0007364/0.0007364, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001793, 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.9586/0.9586, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08662/1.045, 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.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 1.784e-06/1.784e-06, allocations: 0 / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.324e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005845/0.005858, allocations: 5.906 MB / 250.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.00804, allocations: 1.614 MB / 252.6 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.008317, allocations: 23.88 kB / 252.6 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.008581, allocations: 170.3 kB / 252.7 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.009031, allocations: 309 kB / 253 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.009588, allocations: 411.3 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01061, allocations: 1.434 MB / 254.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.01096, allocations: 297.7 kB / 255.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.01176, allocations: 0.8528 MB / 256 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.01221, allocations: 454.8 kB / 256.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.01235, allocations: 136 kB / 256.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.0126, allocations: 176 kB / 256.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.01275, allocations: 207.4 kB / 257 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.01307, allocations: 347.4 kB / 257.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.01387, allocations: 0.8643 MB / 258.2 MB, free: 404 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.01389, allocations: 0 / 258.2 MB, free: 404 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01389, allocations: 4 kB / 258.2 MB, free: 400 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.01391, allocations: 0 / 258.2 MB, free: 400 kB / 250.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.001745/0.01565, allocations: 1.52 MB / 259.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01568, allocations: 12.61 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.01599, allocations: 237.9 kB / 260 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.01646, allocations: 389.1 kB / 260.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.01651, allocations: 66.38 kB / 260.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.01661, allocations: 96.33 kB / 260.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.0173, allocations: 0.8021 MB / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.01731, allocations: 192 / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.01736, allocations: 40.38 kB / 261.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01737, allocations: 23.94 kB / 261.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.0177, allocations: 273.8 kB / 261.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.02022, allocations: 2.072 MB / 263.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.02058, allocations: 357.2 kB / 264 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.02074, allocations: 179.4 kB / 264.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.02078, allocations: 12.66 kB / 264.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.0208, allocations: 39.22 kB / 264.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.0208, allocations: 0 / 264.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.00147/0.02227, allocations: 1.137 MB / 265.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.02231, allocations: 64 kB / 265.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.02258, allocations: 487 kB / 265.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.02261, allocations: 37.7 kB / 266 MB, free: 8.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.02276, allocations: 393.4 kB / 266.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.02289, allocations: 273.7 kB / 266.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.02301, allocations: 146.5 kB / 266.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02314, allocations: 394.5 kB / 267.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.02326, allocations: 89.95 kB / 267.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.02344, allocations: 236.6 kB / 267.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.02383, allocations: 423.8 kB / 267.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02383, allocations: 0 / 267.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005804/0.02441, allocations: 0.5505 MB / 268.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02443, allocations: 8 kB / 268.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02443, allocations: 4 kB / 268.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.0247, allocations: 140.1 kB / 268.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.02521, allocations: 239.6 kB / 268.8 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.02676, allocations: 1.993 MB / 270.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.02696, allocations: 31.94 kB / 270.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.02699, allocations: 27.98 kB / 270.9 MB, free: 3.16 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.0001407/0.02713, allocations: 157.6 kB / 271 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.02721, allocations: 71.92 kB / 271.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.02729, allocations: 86.59 kB / 271.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02729, allocations: 8 kB / 271.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.0273, allocations: 4 kB / 271.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.0273, allocations: 3.984 kB / 271.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.02769, allocations: 446.5 kB / 271.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02769, allocations: 0 / 271.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.02809, allocations: 187.1 kB / 271.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.02814, allocations: 59.53 kB / 271.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.02839, allocations: 147.7 kB / 272 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.02842, allocations: 19.98 kB / 272 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.03002, allocations: 1.973 MB / 274 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03002, allocations: 0 / 274 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.03076, allocations: 0.6859 MB / 274.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.03084, allocations: 16 kB / 274.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.03118, allocations: 47.97 kB / 274.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.03127, allocations: 56.53 kB / 274.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.03131, allocations: 23.98 kB / 274.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.03151, allocations: 212.4 kB / 275.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03151, allocations: 0 / 275.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005898/0.0321, allocations: 243.9 kB / 275.3 MB, free: 14.62 MB / 282.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.0001718/0.03227, allocations: 124.1 kB / 275.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000946/0.03322, allocations: 0.6285 MB / 276 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.542e-05/0.03324, allocations: 16.64 kB / 276.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/0.03387, allocations: 459.8 kB / 276.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.03439, allocations: 198.2 kB / 276.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.04028, allocations: 1.584 MB / 278.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.04041, allocations: 183.2 kB / 278.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002185/0.04062, allocations: 89.09 kB / 278.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.04092, allocations: 213.2 kB / 278.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04092, allocations: 0 / 278.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of Templates: time 0.1079/0.1488, allocations: 12.23 MB / 291 MB, free: 36.44 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] 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","",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.7739859391003847]