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.001357/0.001357, allocations: 83.69 kB / 22 MB, free: 5.18 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.001439/0.001439, allocations: 161.8 kB / 25.25 MB, free: 3.02 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.336/1.336, allocations: 158.6 MB / 187 MB, free: 6.477 MB / 174.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.003044/0.003044, allocations: 52.44 kB / 299.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2737, allocations: 49.14 MB / 348.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006415/0.2801, allocations: 5.016 MB / 353.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.2826, allocations: 1.426 MB / 355 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.2829, allocations: 16 kB / 355 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.2832, allocations: 158.4 kB / 355.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.2837, allocations: 285.4 kB / 355.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.2845, allocations: 347.5 kB / 355.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.2861, allocations: 1.238 MB / 357 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.2866, allocations: 281.1 kB / 357.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.2872, allocations: 474.5 kB / 357.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006598/0.2879, allocations: 473.8 kB / 358.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.288, allocations: 124 kB / 358.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.2883, allocations: 155.9 kB / 358.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2886, allocations: 259.2 kB / 358.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005006/0.2891, allocations: 454.1 kB / 359.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.2906, allocations: 1.423 MB / 360.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2906, allocations: 0 / 360.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2906, allocations: 0 / 360.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2907, allocations: 0 / 360.6 MB, free: 3.496 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.002474/0.2931, allocations: 1.237 MB / 361.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2932, allocations: 16.03 kB / 361.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2934, allocations: 112.3 kB / 362 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.2942, allocations: 459.8 kB / 362.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.2942, allocations: 58.38 kB / 362.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.2943, allocations: 84.33 kB / 362.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.2961, allocations: 1.089 MB / 363.7 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2961, allocations: 0 / 363.7 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.2962, allocations: 36 kB / 363.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2962, allocations: 20 kB / 363.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.2979, allocations: 0.7769 MB / 364.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.3028, allocations: 2.608 MB / 367.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.304, allocations: 0.6 MB / 367.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.3047, allocations: 374.7 kB / 368.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.3047, allocations: 8.656 kB / 368.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.3048, allocations: 43.22 kB / 368.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.424e-06/0.3048, allocations: 0 / 368.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.004666/0.3094, allocations: 2.128 MB / 370.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3095, allocations: 67.98 kB / 370.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.3101, allocations: 494 kB / 370.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.3102, allocations: 37.7 kB / 370.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.3105, allocations: 404.4 kB / 371.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3107, allocations: 261.8 kB / 371.5 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.311, allocations: 138.6 kB / 371.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3112, allocations: 370.8 kB / 372 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.3118, allocations: 313.9 kB / 372.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.3126, allocations: 429 kB / 372.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3141, allocations: 0.7428 MB / 373.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3141, allocations: 0 / 373.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002234/0.3163, allocations: 1.037 MB / 374.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3163, allocations: 8 kB / 374.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3164, allocations: 0 / 374.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.317, allocations: 184.6 kB / 374.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.3178, allocations: 191.7 kB / 374.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.3221, allocations: 2.677 MB / 377.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.3227, allocations: 44.03 kB / 377.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.3228, allocations: 35.98 kB / 377.6 MB, free: 1.984 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.0004173/0.3232, allocations: 229.7 kB / 377.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3234, allocations: 67.58 kB / 377.9 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3235, allocations: 85.86 kB / 378 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3236, allocations: 8 kB / 378 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.3236, allocations: 0 / 378 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3236, allocations: 7.922 kB / 378 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.3245, allocations: 0.5762 MB / 378.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3245, allocations: 0 / 378.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.3252, allocations: 147.8 kB / 378.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.3257, allocations: 176.6 kB / 378.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.3258, allocations: 23.98 kB / 378.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.3298, allocations: 2.693 MB / 381.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3298, allocations: 3.984 kB / 381.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.3325, allocations: 1.385 MB / 383 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3326, allocations: 59.56 kB / 383.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.3327, allocations: 20 kB / 383.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.3332, allocations: 47.95 kB / 383.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.3334, allocations: 64.56 kB / 383.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.3334, allocations: 27.98 kB / 383.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.3338, allocations: 330.9 kB / 383.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 383.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007842/0.3346, allocations: 224.1 kB / 383.8 MB, free: 11.68 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.0002165/0.3349, allocations: 123.2 kB / 383.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.3371, allocations: 0.9665 MB / 384.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3372, allocations: 0 / 384.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.3387, allocations: 0.6081 MB / 385.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3393, allocations: 122.5 kB / 385.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.3425, allocations: 1.902 MB / 387.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.343, allocations: 361.2 kB / 387.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.3433, allocations: 76.84 kB / 387.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3434, allocations: 44.48 kB / 388 MB, free: 7.395 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3434, allocations: 4 kB / 388 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Templates: time 0.02017/0.3636, allocations: 10.24 MB / 398.2 MB, free: 13.13 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 -s ida -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: 4.837720187031664]