Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 110 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008585/0.0008585, allocations: 51.5 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1017, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003453/0.1051, allocations: 2.601 MB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1062, allocations: 0.6582 MB / 354.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1063, allocations: 8 kB / 354.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1064, allocations: 43.58 kB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1066, allocations: 79.31 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1068, allocations: 91.81 kB / 355 MB, free: 204 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1071, allocations: 302.8 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1073, allocations: 92.86 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1074, allocations: 115.5 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1076, allocations: 131.4 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1076, allocations: 24 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.1076, allocations: 24 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1077, allocations: 55.78 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1078, allocations: 131.4 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1081, allocations: 294.9 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1081, allocations: 3.984 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1081, allocations: 0 / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1081, allocations: 0 / 356.1 MB, free: 15.04 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.0008387/0.1089, allocations: 0.5537 MB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.109, allocations: 8.031 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1091, allocations: 28.66 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1094, allocations: 268.2 kB / 357 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1094, allocations: 16.94 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.1095, allocations: 24.38 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.1099, allocations: 229.2 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1099, allocations: 0 / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1099, allocations: 4 kB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1099, allocations: 8 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.1103, allocations: 194.1 kB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1116, allocations: 0.9045 MB / 358.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.1122, allocations: 220.8 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.1125, allocations: 132.6 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1125, allocations: 4 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1126, allocations: 30.56 kB / 358.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1126, allocations: 0 / 358.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001655/0.1142, allocations: 0.5537 MB / 359.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.1143, allocations: 55.41 kB / 359.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1145, allocations: 231 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1145, allocations: 29.7 kB / 359.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.1146, allocations: 171.8 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1147, allocations: 47.27 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.1147, allocations: 49.64 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1149, allocations: 326.8 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.115, allocations: 72.81 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1152, allocations: 113.9 kB / 360.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.1156, allocations: 181.9 kB / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1156, allocations: 0 / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008009/0.1164, allocations: 344.9 kB / 360.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1164, allocations: 4 kB / 360.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1164, allocations: 4 kB / 360.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.1168, allocations: 80.83 kB / 361 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.117, allocations: 39.92 kB / 361 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.1197, allocations: 2.021 MB / 363 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1199, allocations: 23.75 kB / 363 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1199, allocations: 12.06 kB / 363.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001616/0.1201, allocations: 144.1 kB / 363.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000111/0.1202, allocations: 97.94 kB / 363.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001786/0.1204, allocations: 149.8 kB / 363.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.1204, allocations: 4 kB / 363.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003413/0.1208, allocations: 221.3 kB / 363.7 MB, free: 7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.1208, allocations: 8.031 kB / 363.7 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1208, allocations: 4 kB / 363.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.632e-05/0.1209, allocations: 24.84 kB / 363.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.121, allocations: 43.92 kB / 363.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.1219, allocations: 1.414 MB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.122, allocations: 15.84 kB / 365.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.122, allocations: 8 kB / 365.2 MB, free: 5.34 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.0001309/0.1222, allocations: 195.5 kB / 365.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.1222, allocations: 23.72 kB / 365.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.1223, allocations: 25.52 kB / 365.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1223, allocations: 7.875 kB / 365.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1223, allocations: 0 / 365.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1223, allocations: 4 kB / 365.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1234, allocations: 0.6242 MB / 366 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1234, allocations: 0 / 366 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1235, allocations: 27.98 kB / 366.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.1238, allocations: 72.8 kB / 366.1 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1238, allocations: 7.938 kB / 366.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.1262, allocations: 1.927 MB / 368.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1262, allocations: 0 / 368.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008939/0.1271, allocations: 434 kB / 368.5 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1272, allocations: 96.94 kB / 368.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1273, allocations: 7.938 kB / 368.6 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.1275, allocations: 24.05 kB / 368.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1275, allocations: 7.984 kB / 368.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1275, allocations: 4 kB / 368.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1277, allocations: 164.6 kB / 368.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.535e-06/0.1277, allocations: 0 / 368.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.1283, allocations: 123.6 kB / 368.9 MB, free: 1.348 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.0001524/0.1285, allocations: 103.8 kB / 369 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.1297, allocations: 0.5361 MB / 369.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1297, allocations: 0.6875 kB / 369.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.13, allocations: 206.6 kB / 369.8 MB, free: 468 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1304, allocations: 39.88 kB / 369.8 MB, free: 432 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1674/0.2978, allocations: 495.1 kB / 370.3 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.298, allocations: 0.749 MB / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.2982, allocations: 23.91 kB / 371.1 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.2983, allocations: 16.81 kB / 371.1 MB, free: 24.5 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2983, allocations: 0 / 371.1 MB, free: 24.5 MB / 302.1 MB Notification: Performance of Templates: time 0.008526/0.3068, allocations: 3.079 MB / 374.2 MB, free: 24.46 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.v_out,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time