Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006336/0.006336, allocations: 98.41 kB / 21.93 MB, free: 5.188 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.001578/0.001578, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 207.7 MB / 236.1 MB, free: 9.949 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.86 kB / 348.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2841, allocations: 49.14 MB / 397.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006001/0.2901, allocations: 5.026 MB / 402.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.2932, allocations: 1.418 MB / 404.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.2938, allocations: 18.19 kB / 404.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.2942, allocations: 158.7 kB / 404.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.2948, allocations: 278.6 kB / 404.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.2956, allocations: 354.9 kB / 404.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.2968, allocations: 1.243 MB / 406.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.2973, allocations: 284.3 kB / 406.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.2979, allocations: 464.6 kB / 406.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.2985, allocations: 476 kB / 407.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2987, allocations: 123.8 kB / 407.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.299, allocations: 155.5 kB / 407.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.2992, allocations: 247.8 kB / 407.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.2996, allocations: 461.1 kB / 408.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.3011, allocations: 1.419 MB / 409.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3011, allocations: 1.375 kB / 409.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3011, allocations: 0 / 409.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.3012, allocations: 0 / 409.7 MB, free: 2.184 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002442/0.3036, allocations: 1.252 MB / 411 MB, free: 1.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3036, allocations: 8.75 kB / 411 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3038, allocations: 113.3 kB / 411.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.3045, allocations: 466.2 kB / 411.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.3046, allocations: 58.06 kB / 411.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.3047, allocations: 84.83 kB / 411.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.3062, allocations: 1.082 MB / 412.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3062, allocations: 1.156 kB / 412.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3063, allocations: 35.94 kB / 412.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.3064, allocations: 20.03 kB / 412.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3079, allocations: 0.7783 MB / 413.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.313, allocations: 2.603 MB / 416.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3141, allocations: 0.6016 MB / 416.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.3149, allocations: 377.1 kB / 417.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.431e-05/0.3149, allocations: 9.594 kB / 417.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.315, allocations: 43.78 kB / 417.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 3.476e-06/0.315, allocations: 0 / 417.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.004854/0.3198, allocations: 2.12 MB / 419.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3199, allocations: 63.41 kB / 419.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.3205, allocations: 497.1 kB / 419.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.3206, allocations: 37.61 kB / 419.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.3209, allocations: 405.8 kB / 420.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.3212, allocations: 262.3 kB / 420.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3214, allocations: 136.5 kB / 420.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3216, allocations: 373.5 kB / 421.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.3223, allocations: 309.2 kB / 421.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000752/0.3231, allocations: 430.6 kB / 421.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3245, allocations: 0.7449 MB / 422.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.3245, allocations: 1.406 kB / 422.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002327/0.3268, allocations: 1.033 MB / 423.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.3268, allocations: 11.94 kB / 423.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3268, allocations: 64 / 423.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.3275, allocations: 186.8 kB / 423.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.3283, allocations: 183.8 kB / 424 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.3324, allocations: 2.7 MB / 426.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.3333, allocations: 32.11 kB / 426.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.3333, allocations: 39.97 kB / 426.7 MB, free: 5.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004566/0.3338, allocations: 221.8 kB / 426.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.334, allocations: 67.58 kB / 427 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3341, allocations: 85.88 kB / 427.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3341, allocations: 8 kB / 427.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.3342, allocations: 7.938 kB / 427.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3342, allocations: 7.922 kB / 427.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.3352, allocations: 0.5761 MB / 427.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3352, allocations: 3.938 kB / 427.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.3359, allocations: 147.8 kB / 427.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000553/0.3364, allocations: 176.6 kB / 428 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.3365, allocations: 23.98 kB / 428 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/0.3404, allocations: 2.689 MB / 430.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3404, allocations: 0 / 430.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/0.3434, allocations: 1.381 MB / 432.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.3438, allocations: 63.75 kB / 432.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3439, allocations: 16 kB / 432.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.3445, allocations: 55.95 kB / 432.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.3447, allocations: 48.55 kB / 432.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.3448, allocations: 27.98 kB / 432.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005624/0.3454, allocations: 330.9 kB / 432.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3454, allocations: 0 / 432.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001199/0.3465, allocations: 232.1 kB / 432.9 MB, free: 15.25 MB / 350.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.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.3468, allocations: 127.3 kB / 433 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3493, allocations: 0.9663 MB / 434 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3493, allocations: 0 / 434 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.3508, allocations: 0.612 MB / 434.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.3516, allocations: 118.4 kB / 434.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.3552, allocations: 1.95 MB / 436.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3556, allocations: 369.2 kB / 437 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.3559, allocations: 59.42 kB / 437 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3559, allocations: 0 / 437 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Templates: time 0.02303/0.3789, allocations: 13.75 MB / 450.8 MB, free: 13.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.593407114967704]