Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002024/0.002024, allocations: 120 kB / 18.46 MB, free: 4.617 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.002407/0.002407, allocations: 212.3 kB / 21.42 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 51.92 kB / 374.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1316, allocations: 53.33 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004147/0.1357, allocations: 2.619 MB / 430.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1372, allocations: 0.705 MB / 430.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1374, allocations: 7.938 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.1376, allocations: 43.58 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.1379, allocations: 83.31 kB / 431 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1381, allocations: 87.83 kB / 431.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.1384, allocations: 306.7 kB / 431.4 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.1386, allocations: 72.94 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1388, allocations: 119.5 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1389, allocations: 123.5 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.139, allocations: 24 kB / 431.7 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.234/0.373, allocations: 24.89 kB / 431.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3732, allocations: 55.41 kB / 431.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.3734, allocations: 132 kB / 431.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006665/0.3741, allocations: 291.6 kB / 432.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3741, allocations: 0.875 kB / 432.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3741, allocations: 0 / 432.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.3741, allocations: 0.9062 kB / 432.2 MB, free: 8.371 MB / 350.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.001239/0.3754, allocations: 0.5683 MB / 432.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3754, allocations: 9.969 kB / 432.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3756, allocations: 30.34 kB / 432.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.376, allocations: 258.2 kB / 433.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3761, allocations: 18.81 kB / 433.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.3761, allocations: 22.94 kB / 433.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.3766, allocations: 223.2 kB / 433.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3766, allocations: 4.594 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3767, allocations: 9.469 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3767, allocations: 6.719 kB / 433.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.3771, allocations: 187.9 kB / 433.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3786, allocations: 0.9061 MB / 434.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.3793, allocations: 205 kB / 434.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.3796, allocations: 109.3 kB / 434.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3796, allocations: 8.5 kB / 434.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3796, allocations: 35.91 kB / 434.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.053e-06/0.3796, allocations: 2.156 kB / 434.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001891/0.3815, allocations: 0.5546 MB / 435.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.3816, allocations: 57.38 kB / 435.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3818, allocations: 229.6 kB / 435.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3818, allocations: 34.64 kB / 435.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.3819, allocations: 169.1 kB / 435.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3819, allocations: 57.56 kB / 435.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.382, allocations: 39.12 kB / 435.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.382, allocations: 327.9 kB / 436.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3822, allocations: 73.61 kB / 436.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3824, allocations: 112.4 kB / 436.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.3828, allocations: 180.9 kB / 436.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3828, allocations: 0 / 436.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009775/0.3838, allocations: 351.5 kB / 436.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3838, allocations: 5.812 kB / 436.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3838, allocations: 1.797 kB / 436.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/0.3843, allocations: 77.38 kB / 437 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3844, allocations: 42.09 kB / 437.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.3873, allocations: 2.01 MB / 439.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3876, allocations: 28.42 kB / 439.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3876, allocations: 6.719 kB / 439.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001629/0.3877, allocations: 146.7 kB / 439.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001073/0.3878, allocations: 98.05 kB / 439.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001757/0.388, allocations: 153.4 kB / 439.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.388, allocations: 2.844 kB / 439.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003667/0.3884, allocations: 218.7 kB / 439.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3884, allocations: 4.75 kB / 439.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3884, allocations: 2.562 kB / 439.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.203e-05/0.3885, allocations: 30.3 kB / 439.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3887, allocations: 43.75 kB / 439.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008284/0.3895, allocations: 1.414 MB / 441.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3897, allocations: 15.58 kB / 441.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3897, allocations: 6.812 kB / 441.2 MB, free: 2.93 MB / 350.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.000107/0.3898, allocations: 195.1 kB / 441.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.3898, allocations: 22.14 kB / 441.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.3899, allocations: 24.06 kB / 441.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3899, allocations: 11.22 kB / 441.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3899, allocations: 1.438 kB / 441.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3899, allocations: 4.5 kB / 441.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.3912, allocations: 0.6216 MB / 442.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3912, allocations: 1.031 kB / 442.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3913, allocations: 23.05 kB / 442.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.3916, allocations: 79.84 kB / 442.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3916, allocations: 1.688 kB / 442.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.3939, allocations: 1.917 MB / 444.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3939, allocations: 3.203 kB / 444.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009995/0.3949, allocations: 445.5 kB / 444.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.395, allocations: 96.81 kB / 444.6 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.395, allocations: 9.281 kB / 444.7 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3952, allocations: 21.77 kB / 444.7 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3952, allocations: 12.69 kB / 444.7 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3953, allocations: 3.953 kB / 444.7 MB, free: 412 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.3954, allocations: 167.1 kB / 444.9 MB, free: 304 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 444.9 MB, free: 304 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006482/0.3961, allocations: 117.6 kB / 445 MB, free: 276 kB / 350.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.0001405/0.3962, allocations: 107.3 kB / 445.1 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.3976, allocations: 0.5179 MB / 445.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.3976, allocations: 4.5 kB / 445.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.398, allocations: 195.5 kB / 445.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3984, allocations: 41.98 kB / 445.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3997, allocations: 0.5316 MB / 446.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4002, allocations: 0.7439 MB / 447.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.4002, allocations: 17.34 kB / 447.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.833e-06/0.4002, allocations: 0 / 447.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Templates: time 0.007839/0.4081, allocations: 3.547 MB / 450.7 MB, free: 14.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.645801510021556]