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.001498/0.001498, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002004/0.002004, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.463/1.463, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.002022/0.002022, allocations: 58.58 kB / 347.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 49.15 MB / 396.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.005569/0.3054, allocations: 5.029 MB / 401.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3082, allocations: 1.41 MB / 403.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.3087, allocations: 19.12 kB / 403.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.3091, allocations: 160.2 kB / 403.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.3096, allocations: 280 kB / 403.8 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.3104, allocations: 356.2 kB / 404.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3116, allocations: 1.238 MB / 405.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.3121, allocations: 276.6 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007082/0.3128, allocations: 476.2 kB / 406.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.3134, allocations: 468 kB / 406.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.3136, allocations: 123.4 kB / 406.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.3139, allocations: 160.4 kB / 406.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3141, allocations: 252.1 kB / 407.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.3145, allocations: 457.1 kB / 407.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3161, allocations: 1.415 MB / 409 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3161, allocations: 5.469 kB / 409 MB, free: 2.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3161, allocations: 3.938 kB / 409 MB, free: 2.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.3161, allocations: 0 / 409 MB, free: 2.164 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.002496/0.3186, allocations: 1.252 MB / 410.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3187, allocations: 13.75 kB / 410.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3189, allocations: 107.7 kB / 410.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.3196, allocations: 457.4 kB / 410.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.3197, allocations: 63.55 kB / 410.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3198, allocations: 84.3 kB / 410.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3215, allocations: 1.083 MB / 412 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3215, allocations: 0 / 412 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.3216, allocations: 36.06 kB / 412 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.3216, allocations: 19.34 kB / 412.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.3233, allocations: 0.7787 MB / 412.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/0.3284, allocations: 2.608 MB / 415.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3296, allocations: 0.6057 MB / 416.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.3303, allocations: 376.7 kB / 416.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.3304, allocations: 12.44 kB / 416.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.3304, allocations: 44.53 kB / 416.5 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.354e-06/0.3304, allocations: 0 / 416.5 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.005051/0.3355, allocations: 2.119 MB / 418.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.3355, allocations: 68.25 kB / 418.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.3362, allocations: 494.2 kB / 419.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.503e-05/0.3363, allocations: 37.14 kB / 419.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.3367, allocations: 401.5 kB / 419.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.3369, allocations: 262 kB / 419.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.3372, allocations: 141.6 kB / 420 MB, free: 10.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.3374, allocations: 373.5 kB / 420.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.3381, allocations: 308 kB / 420.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/0.3388, allocations: 422.6 kB / 421 MB, free: 9.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.3404, allocations: 0.7455 MB / 421.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3404, allocations: 0.9062 kB / 421.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002388/0.3428, allocations: 1.037 MB / 422.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3428, allocations: 8 kB / 422.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3428, allocations: 0 / 422.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.3434, allocations: 185.9 kB / 423 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.3442, allocations: 183.8 kB / 423.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.3483, allocations: 2.692 MB / 425.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.3491, allocations: 39.92 kB / 425.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.3492, allocations: 27.98 kB / 426 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.0004557/0.3496, allocations: 225.8 kB / 426.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.3498, allocations: 67.58 kB / 426.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.3499, allocations: 89.81 kB / 426.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3499, allocations: 8 kB / 426.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.35, allocations: 0 / 426.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.35, allocations: 7.922 kB / 426.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.3509, allocations: 0.576 MB / 426.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3509, allocations: 4 kB / 426.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.3516, allocations: 147.8 kB / 427.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.3522, allocations: 176.6 kB / 427.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3523, allocations: 24.11 kB / 427.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.3562, allocations: 2.697 MB / 430 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3562, allocations: 4 kB / 430 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3589, allocations: 1.377 MB / 431.3 MB, free: 0 / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.3592, allocations: 67.56 kB / 431.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.3592, allocations: 12 kB / 431.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.3598, allocations: 55.95 kB / 431.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.36, allocations: 52.55 kB / 431.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.36, allocations: 23.98 kB / 431.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.3605, allocations: 334.9 kB / 431.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3605, allocations: 0 / 431.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009793/0.3615, allocations: 228.1 kB / 432.1 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.0002842/0.3618, allocations: 131.1 kB / 432.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.3642, allocations: 0.9588 MB / 433.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3642, allocations: 3.938 kB / 433.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.3656, allocations: 0.612 MB / 433.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.3663, allocations: 118.5 kB / 433.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.3697, allocations: 1.913 MB / 435.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3701, allocations: 361.2 kB / 436.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.3705, allocations: 80.83 kB / 436.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3706, allocations: 55.41 kB / 436.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3706, allocations: 0 / 436.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Templates: time 0.02159/0.3922, allocations: 11.3 MB / 447.6 MB, free: 15.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/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: 5.131795518100262]