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.001334/0.001334, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.4 MB / 246.7 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.67 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004093/0.1179, allocations: 2.608 MB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1194, allocations: 0.6973 MB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1197, allocations: 4 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.1198, allocations: 51.56 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1201, allocations: 79.27 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1203, allocations: 83.88 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.1206, allocations: 310.6 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1208, allocations: 96.92 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.121, allocations: 111.6 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1211, allocations: 131.4 kB / 361.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.1212, allocations: 24 kB / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.1213, allocations: 24 kB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.1213, allocations: 51.84 kB / 361.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1214, allocations: 135.3 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1217, allocations: 287.2 kB / 362.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1217, allocations: 3.938 kB / 362.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1217, allocations: 3.984 kB / 362.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1218, allocations: 0 / 362.2 MB, free: 9.379 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.0009904/0.1227, allocations: 0.5576 MB / 362.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1228, allocations: 12.03 kB / 362.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.1229, allocations: 28.56 kB / 362.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1232, allocations: 247.9 kB / 363 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1232, allocations: 16.94 kB / 363 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1232, allocations: 20.38 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.1237, allocations: 237.1 kB / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1237, allocations: 0 / 363.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1237, allocations: 8 kB / 363.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1238, allocations: 4 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1242, allocations: 194.1 kB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1257, allocations: 0.8967 MB / 364.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.1264, allocations: 218.6 kB / 364.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.1267, allocations: 132.7 kB / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1267, allocations: 7.938 kB / 364.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1268, allocations: 34.56 kB / 364.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.1268, allocations: 0 / 364.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001848/0.1286, allocations: 0.5499 MB / 365.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1287, allocations: 51.41 kB / 365.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1289, allocations: 235 kB / 365.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1289, allocations: 29.7 kB / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.129, allocations: 171.8 kB / 365.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.1291, allocations: 51.25 kB / 365.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.1292, allocations: 41.7 kB / 365.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1293, allocations: 330.8 kB / 366.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.1295, allocations: 64.83 kB / 366.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1297, allocations: 123 kB / 366.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1301, allocations: 180.3 kB / 366.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1301, allocations: 0 / 366.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008813/0.131, allocations: 346 kB / 366.9 MB, free: 4.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.131, allocations: 11.98 kB / 366.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.131, allocations: 0 / 366.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.1314, allocations: 80.78 kB / 367 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1316, allocations: 39.97 kB / 367 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.1346, allocations: 2.009 MB / 369 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.1347, allocations: 27.77 kB / 369.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1348, allocations: 12 kB / 369.1 MB, free: 2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001729/0.1349, allocations: 140.7 kB / 369.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001104/0.1351, allocations: 106.4 kB / 369.3 MB, free: 1.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001897/0.1353, allocations: 152.8 kB / 369.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.1353, allocations: 0 / 369.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003495/0.1356, allocations: 214 kB / 369.7 MB, free: 1.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1356, allocations: 4 kB / 369.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.1357, allocations: 4 kB / 369.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-05/0.1357, allocations: 32.97 kB / 369.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1359, allocations: 51.91 kB / 369.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1748/0.3107, allocations: 1.409 MB / 371.2 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.311, allocations: 15.75 kB / 371.2 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.311, allocations: 9.562 kB / 371.2 MB, free: 18.99 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.0001065/0.3111, allocations: 193.9 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.3111, allocations: 24.64 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.3112, allocations: 26.02 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3112, allocations: 2.297 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3112, allocations: 0.5 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3112, allocations: 2.5 kB / 371.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3125, allocations: 0.6262 MB / 372.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3125, allocations: 0.8125 kB / 372.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3126, allocations: 27 kB / 372.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.3129, allocations: 76.06 kB / 372.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.313, allocations: 5.922 kB / 372.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.3152, allocations: 1.915 MB / 374.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3152, allocations: 4.719 kB / 374.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.3162, allocations: 443.2 kB / 374.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.3163, allocations: 97.28 kB / 374.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3163, allocations: 2.062 kB / 374.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3165, allocations: 24.47 kB / 374.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3166, allocations: 13.84 kB / 374.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3166, allocations: 3.656 kB / 374.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3168, allocations: 165 kB / 374.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3168, allocations: 0 / 374.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.3174, allocations: 113 kB / 374.9 MB, free: 16.7 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.0001418/0.3176, allocations: 105.4 kB / 375 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3188, allocations: 0.5482 MB / 375.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3188, allocations: 1 kB / 375.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.3191, allocations: 204 kB / 375.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.3196, allocations: 35.81 kB / 375.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.3205, allocations: 0.5022 MB / 376.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.3207, allocations: 0.739 MB / 377.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.3208, allocations: 26.72 kB / 377.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.3209, allocations: 21 kB / 377.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3209, allocations: 0 / 377.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Templates: time 0.007492/0.3284, allocations: 3.077 MB / 380.2 MB, free: 15.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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