Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001773/0.001773, allocations: 112.1 kB / 21.93 MB, free: 5.215 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.002104/0.002104, allocations: 209.5 kB / 25.22 MB, free: 3.023 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.479/1.479, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [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.002693/0.002693, allocations: 47.92 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3909, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003772/0.3947, allocations: 2.408 MB / 400 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.396, allocations: 0.6806 MB / 400.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3962, allocations: 13.16 kB / 400.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.3964, allocations: 40.7 kB / 400.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.3967, allocations: 82.83 kB / 400.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.3969, allocations: 86.11 kB / 400.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.3973, allocations: 313.8 kB / 401.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.3975, allocations: 72.53 kB / 401.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3977, allocations: 114 kB / 401.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3979, allocations: 118.5 kB / 401.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.3979, allocations: 24.41 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.398, allocations: 24.03 kB / 401.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.3981, allocations: 58.58 kB / 401.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3982, allocations: 107.7 kB / 401.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3986, allocations: 295.2 kB / 402 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3986, allocations: 0 / 402 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.3986, allocations: 3.938 kB / 402 MB, free: 6.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3986, allocations: 0 / 402 MB, free: 6.633 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009404/0.3996, allocations: 0.4928 MB / 402.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3996, allocations: 12.33 kB / 402.5 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.3997, allocations: 28.45 kB / 402.6 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.4001, allocations: 200.6 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4001, allocations: 13.09 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.4001, allocations: 23.75 kB / 402.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.4006, allocations: 304.5 kB / 403.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4006, allocations: 3.938 kB / 403.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.4007, allocations: 11.38 kB / 403.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4007, allocations: 4.594 kB / 403.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.4011, allocations: 191.4 kB / 403.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.4025, allocations: 0.7612 MB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.4031, allocations: 204.4 kB / 404.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.4034, allocations: 110.7 kB / 404.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4035, allocations: 10.59 kB / 404.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4035, allocations: 36.69 kB / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.4035, allocations: 0 / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001918/0.4054, allocations: 492.8 kB / 404.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.4054, allocations: 53.94 kB / 405 MB, free: 4.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.4057, allocations: 212.4 kB / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4057, allocations: 26.83 kB / 405.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4058, allocations: 171.9 kB / 405.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.4059, allocations: 58.64 kB / 405.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.406, allocations: 44.09 kB / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.4061, allocations: 333.2 kB / 405.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.4063, allocations: 77.91 kB / 405.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4065, allocations: 113.4 kB / 406 MB, free: 4.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.4068, allocations: 176.7 kB / 406.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4068, allocations: 1.156 kB / 406.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009388/0.4078, allocations: 345.3 kB / 406.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4078, allocations: 6.109 kB / 406.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4078, allocations: 5.406 kB / 406.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.4082, allocations: 77.98 kB / 406.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4084, allocations: 41.05 kB / 406.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.411, allocations: 1.878 MB / 408.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4112, allocations: 24.97 kB / 408.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4112, allocations: 10.09 kB / 408.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001579/0.4114, allocations: 139.8 kB / 408.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001123/0.4115, allocations: 101.4 kB / 408.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001801/0.4117, allocations: 150.2 kB / 408.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.4117, allocations: 0 / 408.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003317/0.412, allocations: 211.5 kB / 409.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.412, allocations: 10.41 kB / 409.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.412, allocations: 1.344 kB / 409.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-05/0.4121, allocations: 32.64 kB / 409.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.4123, allocations: 42.47 kB / 409.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007495/0.413, allocations: 1.287 MB / 410.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4132, allocations: 12.02 kB / 410.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4132, allocations: 10.88 kB / 410.5 MB, free: 0.5703 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.4133, allocations: 192.9 kB / 410.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.4133, allocations: 24.8 kB / 410.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.4134, allocations: 23.66 kB / 410.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4134, allocations: 2.75 kB / 410.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4134, allocations: 0.6094 kB / 410.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4134, allocations: 0.6094 kB / 410.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4145, allocations: 0.5407 MB / 411.3 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4145, allocations: 5.281 kB / 411.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4147, allocations: 22.38 kB / 411.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003134/0.415, allocations: 79.17 kB / 411.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.415, allocations: 0.75 kB / 411.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.4177, allocations: 1.793 MB / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4177, allocations: 0 / 413.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4187, allocations: 435.1 kB / 413.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.4188, allocations: 19 kB / 413.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.4188, allocations: 1.703 kB / 413.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.419, allocations: 29.28 kB / 413.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.419, allocations: 9.312 kB / 413.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.419, allocations: 3.469 kB / 413.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.4192, allocations: 154.8 kB / 413.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4192, allocations: 0 / 413.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.4198, allocations: 125.7 kB / 413.9 MB, free: 14.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.42, allocations: 99.39 kB / 414 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4213, allocations: 0.5201 MB / 414.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4213, allocations: 0 / 414.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.4217, allocations: 203.5 kB / 414.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.4221, allocations: 38.42 kB / 414.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4233, allocations: 0.5247 MB / 415.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.4234, allocations: 142.3 kB / 415.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.4235, allocations: 18.92 kB / 415.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4235, allocations: 0 / 415.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of Templates: time 0.007134/0.4306, allocations: 3.517 MB / 419 MB, free: 11.27 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.711674691177905]