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.001154/0.001154, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 64.39 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1205, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004416/0.1249, allocations: 2.602 MB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1263, allocations: 0.7128 MB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1266, allocations: 4 kB / 362.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1268, allocations: 39.58 kB / 362.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.1272, allocations: 83.25 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1274, allocations: 87.81 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.1279, allocations: 306.7 kB / 362.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1281, allocations: 96.92 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1283, allocations: 111.6 kB / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1285, allocations: 131.5 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.1285, allocations: 24 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.1286, allocations: 24 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.1286, allocations: 59.77 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1288, allocations: 127.3 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.129, allocations: 295 kB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1291, allocations: 0 / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1291, allocations: 4 kB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1291, allocations: 0 / 363.6 MB, free: 8.602 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.0009775/0.1301, allocations: 0.5576 MB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1301, allocations: 8.031 kB / 364.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.1302, allocations: 28.56 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1305, allocations: 263.7 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1306, allocations: 20.94 kB / 364.5 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.1306, allocations: 16.38 kB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.131, allocations: 229.2 kB / 364.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1311, allocations: 3.938 kB / 364.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1311, allocations: 12 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1311, allocations: 4 kB / 364.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.1315, allocations: 194.1 kB / 364.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.133, allocations: 0.8927 MB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.1337, allocations: 210.7 kB / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.134, allocations: 135.5 kB / 366.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1341, allocations: 0 / 366.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1341, allocations: 34.5 kB / 366.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1341, allocations: 0 / 366.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001763/0.1359, allocations: 0.5537 MB / 366.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1359, allocations: 59.41 kB / 366.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1361, allocations: 227 kB / 367 MB, free: 4.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1362, allocations: 33.7 kB / 367.1 MB, free: 4.902 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.1363, allocations: 167.8 kB / 367.2 MB, free: 4.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1363, allocations: 51.25 kB / 367.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.1364, allocations: 41.7 kB / 367.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1365, allocations: 330.8 kB / 367.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1367, allocations: 72.83 kB / 367.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1369, allocations: 111.1 kB / 367.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.1373, allocations: 184.2 kB / 368 MB, free: 3.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1373, allocations: 4 kB / 368 MB, free: 3.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000878/0.1382, allocations: 342 kB / 368.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1382, allocations: 8 kB / 368.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1382, allocations: 0 / 368.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.1386, allocations: 80.83 kB / 368.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1387, allocations: 39.92 kB / 368.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.1416, allocations: 2.013 MB / 370.5 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1417, allocations: 31.72 kB / 370.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1418, allocations: 12.06 kB / 370.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001451/0.1419, allocations: 148.6 kB / 370.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001028/0.142, allocations: 102.4 kB / 370.8 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001842/0.1422, allocations: 156.2 kB / 370.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.1422, allocations: 3.984 kB / 370.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003403/0.1426, allocations: 217.2 kB / 371.1 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1426, allocations: 12 kB / 371.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1426, allocations: 0 / 371.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.103e-05/0.1427, allocations: 28.78 kB / 371.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1429, allocations: 39.98 kB / 371.2 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1475/0.2903, allocations: 1.403 MB / 372.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.2905, allocations: 15.39 kB / 372.6 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.2906, allocations: 9.766 kB / 372.6 MB, free: 18.65 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.0001066/0.2907, allocations: 198.7 kB / 372.8 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.2907, allocations: 23.28 kB / 372.8 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.2908, allocations: 23.12 kB / 372.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2908, allocations: 2.25 kB / 372.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2908, allocations: 0.8438 kB / 372.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2908, allocations: 2.188 kB / 372.9 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2919, allocations: 0.6312 MB / 373.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2919, allocations: 0.5312 kB / 373.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.2921, allocations: 24.02 kB / 373.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.2923, allocations: 74.08 kB / 373.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2924, allocations: 5.672 kB / 373.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.2943, allocations: 1.923 MB / 375.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2943, allocations: 0 / 375.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.2952, allocations: 433.4 kB / 376 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.2952, allocations: 97.72 kB / 376 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2953, allocations: 8.062 kB / 376.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2955, allocations: 21.17 kB / 376.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.2955, allocations: 8.875 kB / 376.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2955, allocations: 8.625 kB / 376.1 MB, free: 16.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2957, allocations: 164.7 kB / 376.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2957, allocations: 0 / 376.3 MB, free: 16.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000549/0.2962, allocations: 112.1 kB / 376.4 MB, free: 16.35 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.0001033/0.2963, allocations: 116.5 kB / 376.5 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2974, allocations: 0.5419 MB / 377 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2974, allocations: 0 / 377 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.2977, allocations: 207.1 kB / 377.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2981, allocations: 35.64 kB / 377.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.2989, allocations: 0.4906 MB / 377.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2991, allocations: 0.7555 MB / 378.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.511e-05/0.2992, allocations: 19.11 kB / 378.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.2992, allocations: 18 kB / 378.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2992, allocations: 0 / 378.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006524/0.3058, allocations: 3.084 MB / 381.6 MB, free: 14.81 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 -s gbode -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) "" 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