Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.002002/0.002002, allocations: 113.7 kB / 21.94 MB, free: 5.219 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.002499/0.002499, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.547/1.547, allocations: 207.7 MB / 236.1 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [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.002182/0.002182, allocations: 57.58 kB / 348.5 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003782/0.3221, allocations: 2.565 MB / 400.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3235, allocations: 0.6591 MB / 400.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.3237, allocations: 4.594 kB / 400.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.3239, allocations: 47.09 kB / 400.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.3241, allocations: 96.41 kB / 401 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.3244, allocations: 84.33 kB / 401.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.3248, allocations: 381.9 kB / 401.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.325, allocations: 92.09 kB / 401.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3252, allocations: 153.4 kB / 401.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.3254, allocations: 142 kB / 401.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.3255, allocations: 33.66 kB / 401.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.3255, allocations: 34.47 kB / 401.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.3256, allocations: 74.25 kB / 401.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3257, allocations: 142 kB / 402.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.3262, allocations: 382.7 kB / 402.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3262, allocations: 0 / 402.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3262, allocations: 0 / 402.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3262, allocations: 0 / 402.5 MB, free: 6.398 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001185/0.3274, allocations: 0.583 MB / 403 MB, free: 5.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3274, allocations: 10.16 kB / 403.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.3275, allocations: 37.72 kB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3279, allocations: 212.2 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3279, allocations: 19.41 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.328, allocations: 25.19 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.3286, allocations: 359.7 kB / 403.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3287, allocations: 0 / 403.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.3287, allocations: 15.38 kB / 403.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3287, allocations: 5.562 kB / 403.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.3295, allocations: 248.5 kB / 404 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.331, allocations: 0.9324 MB / 404.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.3318, allocations: 211.9 kB / 405.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3321, allocations: 89.47 kB / 405.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.3321, allocations: 2.266 kB / 405.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.3325, allocations: 218 kB / 405.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.084e-06/0.3325, allocations: 0 / 405.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002071/0.3346, allocations: 448.3 kB / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3347, allocations: 110.6 kB / 405.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.335, allocations: 264 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.335, allocations: 31.02 kB / 406.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3351, allocations: 204.3 kB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3352, allocations: 45.09 kB / 406.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.3352, allocations: 52.97 kB / 406.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.3353, allocations: 335.6 kB / 406.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.3357, allocations: 124.4 kB / 407 MB, free: 3.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.336, allocations: 279.6 kB / 407.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.3367, allocations: 302.7 kB / 407.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3367, allocations: 5.094 kB / 407.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001202/0.3379, allocations: 456.7 kB / 408 MB, free: 2.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.3379, allocations: 34.73 kB / 408 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3379, allocations: 4.125 kB / 408 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.3383, allocations: 70.58 kB / 408.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3385, allocations: 54.06 kB / 408.2 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.3405, allocations: 1.57 MB / 409.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.341, allocations: 51.86 kB / 409.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.341, allocations: 14.22 kB / 409.8 MB, free: 1.262 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.3412, allocations: 145.5 kB / 409.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3412, allocations: 19.66 kB / 410 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.3412, allocations: 35.2 kB / 410 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3412, allocations: 1.312 kB / 410 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3412, allocations: 3.938 kB / 410 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3412, allocations: 2.297 kB / 410 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.3415, allocations: 209.2 kB / 410.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3415, allocations: 3.938 kB / 410.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3416, allocations: 18.39 kB / 410.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.3419, allocations: 71.11 kB / 410.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3419, allocations: 6.469 kB / 410.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.3439, allocations: 1.558 MB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3439, allocations: 7.938 kB / 411.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3451, allocations: 311.7 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3452, allocations: 32.5 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.3453, allocations: 5.766 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3455, allocations: 30.05 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.3456, allocations: 22.17 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3456, allocations: 10.25 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.3459, allocations: 182.5 kB / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3459, allocations: 0 / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.3464, allocations: 84.09 kB / 412.5 MB, free: 15.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.3465, allocations: 98.69 kB / 412.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3476, allocations: 436.9 kB / 413 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3476, allocations: 0 / 413 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.3481, allocations: 219.3 kB / 413.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3484, allocations: 43.92 kB / 413.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3496, allocations: 487 kB / 413.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3497, allocations: 145.3 kB / 413.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.3498, allocations: 22.91 kB / 413.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3498, allocations: 1.062 kB / 413.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Templates: time 0.007517/0.3573, allocations: 4.412 MB / 418.4 MB, free: 11.8 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 7.7916682050563395]