Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.92 kB / 371 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2709, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008362/0.2793, allocations: 6.112 MB / 429.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.2834, allocations: 1.525 MB / 430.8 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009199/0.2843, allocations: 23.88 kB / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.285, allocations: 170.3 kB / 431 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.286, allocations: 301.2 kB / 431.3 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2873, allocations: 403.4 kB / 431.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.2896, allocations: 1.395 MB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.2903, allocations: 301.7 kB / 433.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.2912, allocations: 0.5101 MB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2923, allocations: 0.5603 MB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.2927, allocations: 136 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.2932, allocations: 168 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.2935, allocations: 279.1 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.2941, allocations: 0.5833 MB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.2962, allocations: 1.539 MB / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2962, allocations: 0 / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2962, allocations: 0 / 437.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.2962, allocations: 4 kB / 437.1 MB, free: 0.625 MB / 334.1 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.003142/0.2993, allocations: 1.342 MB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2994, allocations: 8.031 kB / 438.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.2996, allocations: 120.2 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/0.3005, allocations: 0.4901 MB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.3006, allocations: 62.38 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.3008, allocations: 100.3 kB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3026, allocations: 0.851 MB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3026, allocations: 4 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.3027, allocations: 39.98 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.3027, allocations: 20 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.3045, allocations: 0.855 MB / 441 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.3106, allocations: 3.161 MB / 444.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.3119, allocations: 0.6301 MB / 444.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.3127, allocations: 395.2 kB / 445.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.3127, allocations: 16.64 kB / 445.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.3128, allocations: 39.22 kB / 445.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.775e-06/0.3128, allocations: 0 / 445.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00503/0.3178, allocations: 2.201 MB / 447.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3178, allocations: 64.05 kB / 447.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/0.3187, allocations: 0.6096 MB / 448.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.3187, allocations: 41.7 kB / 448.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.3191, allocations: 452.3 kB / 448.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.3194, allocations: 269.7 kB / 448.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.3197, allocations: 150.5 kB / 449 MB, free: 4.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3199, allocations: 390.8 kB / 449.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.3206, allocations: 325.9 kB / 449.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.3215, allocations: 468.6 kB / 450.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.323, allocations: 0.8047 MB / 450.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.323, allocations: 4 kB / 450.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002418/0.3254, allocations: 1.115 MB / 452.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3255, allocations: 4 kB / 452.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3255, allocations: 4 kB / 452.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.3261, allocations: 184.8 kB / 452.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3271, allocations: 199.7 kB / 452.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/0.3316, allocations: 2.786 MB / 455.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008174/0.3324, allocations: 32.03 kB / 455.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.3325, allocations: 32 kB / 455.3 MB, free: 13.92 MB / 366.1 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.0005834/0.3331, allocations: 233.6 kB / 455.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3334, allocations: 91.41 kB / 455.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.3336, allocations: 91.39 kB / 455.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.3336, allocations: 12 kB / 455.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.3337, allocations: 8 kB / 455.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3337, allocations: 3.984 kB / 455.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.335, allocations: 0.8564 MB / 456.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.335, allocations: 3.938 kB / 456.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/0.3358, allocations: 147.8 kB / 456.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.3364, allocations: 184.8 kB / 456.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.3365, allocations: 23.98 kB / 456.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004217/0.3407, allocations: 2.795 MB / 459.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3407, allocations: 0 / 459.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.3438, allocations: 1.42 MB / 461.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.344, allocations: 75.66 kB / 461.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3442, allocations: 20 kB / 461.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.3449, allocations: 51.89 kB / 461.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.345, allocations: 60.48 kB / 461.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.3451, allocations: 27.98 kB / 461.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006357/0.3457, allocations: 431.1 kB / 461.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3457, allocations: 0 / 461.8 MB, free: 7.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001043/0.3468, allocations: 236 kB / 462 MB, free: 7.004 MB / 366.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.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.0003053/0.3471, allocations: 131.2 kB / 462.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.3499, allocations: 0.9938 MB / 463.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.3499, allocations: 4 kB / 463.2 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.3515, allocations: 0.6121 MB / 463.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.3526, allocations: 154.8 kB / 463.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.3567, allocations: 2.019 MB / 465.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.3576, allocations: 0.9814 MB / 466.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.3582, allocations: 89.47 kB / 467 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.3584, allocations: 51.42 kB / 467.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3584, allocations: 4 kB / 467.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Templates: time 0.02654/0.3849, allocations: 11.83 MB / 478.9 MB, free: 6.164 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.277626978233457]