Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000864/0.000864, allocations: 92 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001054, allocations: 202.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 247.5 MB, free: 9.328 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 11.98 kB / 308.4 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 51.53 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003206/0.1059, allocations: 2.294 MB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1073, allocations: 0.6858 MB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.1076, allocations: 7.938 kB / 362.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1078, allocations: 31.77 kB / 362.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1081, allocations: 71.45 kB / 363 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1084, allocations: 71.92 kB / 363.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1088, allocations: 306.6 kB / 363.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.109, allocations: 73.5 kB / 363.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1091, allocations: 95.64 kB / 363.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1093, allocations: 115.4 kB / 363.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.1094, allocations: 16 kB / 363.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.1094, allocations: 12 kB / 363.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1095, allocations: 43.83 kB / 363.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1096, allocations: 149 kB / 363.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1099, allocations: 203.7 kB / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1099, allocations: 0 / 364.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.1099, allocations: 4 kB / 364.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1099, allocations: 0 / 364.1 MB, free: 8.816 MB / 302.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.0009578/0.1109, allocations: 0.5265 MB / 364.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001081/0.111, allocations: 12.03 kB / 364.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.1111, allocations: 28.66 kB / 364.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1114, allocations: 251.8 kB / 364.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1114, allocations: 12.94 kB / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.1115, allocations: 24.38 kB / 364.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.112, allocations: 233.1 kB / 365.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1121, allocations: 0 / 365.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.1121, allocations: 15.98 kB / 365.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1121, allocations: 4 kB / 365.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.1126, allocations: 194.2 kB / 365.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1142, allocations: 0.9162 MB / 366.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.1149, allocations: 222.6 kB / 366.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1152, allocations: 136.7 kB / 366.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1152, allocations: 4 kB / 366.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1153, allocations: 30.56 kB / 366.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.1153, allocations: 3.938 kB / 366.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001897/0.1172, allocations: 0.5958 MB / 367.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1172, allocations: 55.41 kB / 367.3 MB, free: 5.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1175, allocations: 238.9 kB / 367.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1175, allocations: 29.7 kB / 367.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1177, allocations: 167.8 kB / 367.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1177, allocations: 51.25 kB / 367.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1178, allocations: 21.72 kB / 367.8 MB, free: 4.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1179, allocations: 330.8 kB / 368.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1181, allocations: 67.97 kB / 368.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1183, allocations: 115.1 kB / 368.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1187, allocations: 188.3 kB / 368.5 MB, free: 4.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1187, allocations: 3.938 kB / 368.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009024/0.1196, allocations: 350.1 kB / 368.9 MB, free: 3.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1197, allocations: 138.1 kB / 369 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1198, allocations: 4 kB / 369 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.1201, allocations: 84.8 kB / 369.1 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1203, allocations: 39.97 kB / 369.1 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.1233, allocations: 1.873 MB / 371 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1235, allocations: 23.84 kB / 371 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1235, allocations: 4 kB / 371 MB, free: 1.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1236, allocations: 4 kB / 371 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003054/0.1239, allocations: 179 kB / 371.2 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1239, allocations: 3.938 kB / 371.2 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-05/0.124, allocations: 24.8 kB / 371.2 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1241, allocations: 43.97 kB / 371.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1811/0.3052, allocations: 1.305 MB / 372.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3054, allocations: 17.97 kB / 372.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3055, allocations: 8.094 kB / 372.6 MB, free: 17.71 MB / 302.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.0001607/0.3056, allocations: 211.9 kB / 372.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.3057, allocations: 24.94 kB / 372.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.3057, allocations: 23.5 kB / 372.8 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3058, allocations: 6.438 kB / 372.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3058, allocations: 1.797 kB / 372.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3058, allocations: 0.6094 kB / 372.9 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.307, allocations: 0.64 MB / 373.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.307, allocations: 3.828 kB / 373.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3071, allocations: 27.41 kB / 373.5 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.3074, allocations: 77.5 kB / 373.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3074, allocations: 10.19 kB / 373.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.3094, allocations: 1.763 MB / 375.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3094, allocations: 1.406 kB / 375.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.3103, allocations: 454.8 kB / 375.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3104, allocations: 102.1 kB / 375.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3104, allocations: 9.891 kB / 375.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3106, allocations: 27 kB / 376 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3107, allocations: 8.375 kB / 376 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3107, allocations: 7.891 kB / 376 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3108, allocations: 160.5 kB / 376.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 1 kB / 376.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000568/0.3114, allocations: 114.8 kB / 376.2 MB, free: 15.55 MB / 302.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.0001121/0.3115, allocations: 103.4 kB / 376.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3126, allocations: 0.5562 MB / 376.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3127, allocations: 1.188 kB / 376.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.3129, allocations: 199.5 kB / 377.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3134, allocations: 34.81 kB / 377.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3144, allocations: 0.6467 MB / 377.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.3147, allocations: 0.7436 MB / 378.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3147, allocations: 21.98 kB / 378.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3147, allocations: 1.219 kB / 378.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.006478/0.3212, allocations: 3.487 MB / 382 MB, free: 13.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches