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.001264/0.001264, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001608, allocations: 58.47 kB / 306.5 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1173, allocations: 50.54 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004855/0.1222, allocations: 2.663 MB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.124, allocations: 0.6973 MB / 360.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.1245, allocations: 4 kB / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1249, allocations: 31.75 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.1254, allocations: 71.45 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1258, allocations: 79.86 kB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.1263, allocations: 306.6 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.1266, allocations: 92.92 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.1268, allocations: 111.6 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1271, allocations: 123.5 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.1271, allocations: 24 kB / 361.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.1272, allocations: 32 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.1273, allocations: 55.77 kB / 361.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1274, allocations: 139.3 kB / 361.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.1279, allocations: 279.2 kB / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1279, allocations: 0 / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 5e-06/0.1279, allocations: 4 kB / 361.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.1279, allocations: 0 / 361.7 MB, free: 9.68 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.001149/0.1291, allocations: 0.5615 MB / 362.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1291, allocations: 8.031 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.1292, allocations: 28.56 kB / 362.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.1296, allocations: 259.8 kB / 362.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1296, allocations: 16.94 kB / 362.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.1297, allocations: 24.38 kB / 362.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.1303, allocations: 225.2 kB / 362.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1303, allocations: 0 / 362.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.1303, allocations: 8 kB / 362.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1303, allocations: 8 kB / 362.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1308, allocations: 194.1 kB / 363 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.1324, allocations: 0.8967 MB / 363.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.1331, allocations: 226.6 kB / 364.1 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1334, allocations: 128.7 kB / 364.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1335, allocations: 3.984 kB / 364.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1335, allocations: 42.5 kB / 364.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.1335, allocations: 0 / 364.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001833/0.1354, allocations: 0.542 MB / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1354, allocations: 59.41 kB / 364.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1357, allocations: 235 kB / 365.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1357, allocations: 29.7 kB / 365.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1359, allocations: 163.8 kB / 365.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.1359, allocations: 51.27 kB / 365.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.136, allocations: 37.7 kB / 365.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1362, allocations: 330.8 kB / 365.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1363, allocations: 72.83 kB / 365.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1366, allocations: 111.1 kB / 365.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1369, allocations: 184.2 kB / 366.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1369, allocations: 8 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008711/0.1378, allocations: 342 kB / 366.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1379, allocations: 4 kB / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1379, allocations: 0 / 366.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.1383, allocations: 88.83 kB / 366.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1385, allocations: 39.92 kB / 366.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.1415, allocations: 2.009 MB / 368.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.1417, allocations: 31.8 kB / 368.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.1417, allocations: 8 kB / 368.6 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001766/0.1419, allocations: 144.7 kB / 368.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000111/0.142, allocations: 98.36 kB / 368.8 MB, free: 2.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001998/0.1422, allocations: 156.2 kB / 369 MB, free: 1.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.1422, allocations: 0 / 369 MB, free: 1.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000448/0.1427, allocations: 222.2 kB / 369.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1427, allocations: 8 kB / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1427, allocations: 0 / 369.2 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.961e-05/0.1428, allocations: 24.84 kB / 369.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.143, allocations: 43.97 kB / 369.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.1441, allocations: 1.414 MB / 370.7 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2138/0.3579, allocations: 21.22 kB / 370.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.358, allocations: 5.281 kB / 370.7 MB, free: 19.67 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.0001218/0.3581, allocations: 197.3 kB / 370.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.3582, allocations: 16.03 kB / 370.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.3583, allocations: 24.64 kB / 370.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3583, allocations: 5.281 kB / 370.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3583, allocations: 1.328 kB / 370.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3583, allocations: 1.016 kB / 370.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3596, allocations: 0.6298 MB / 371.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3596, allocations: 1.641 kB / 371.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3598, allocations: 26.36 kB / 371.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.3601, allocations: 75.64 kB / 371.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.3601, allocations: 5.375 kB / 371.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.3623, allocations: 1.915 MB / 373.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3623, allocations: 8.094 kB / 373.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.3632, allocations: 438.6 kB / 374 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.3633, allocations: 97.11 kB / 374.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3633, allocations: 3.422 kB / 374.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3635, allocations: 23.31 kB / 374.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3636, allocations: 14.3 kB / 374.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3636, allocations: 4.219 kB / 374.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.3638, allocations: 162.4 kB / 374.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3638, allocations: 0 / 374.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.3644, allocations: 121.4 kB / 374.5 MB, free: 17.39 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.0001223/0.3645, allocations: 106.2 kB / 374.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3657, allocations: 0.5456 MB / 375.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3657, allocations: 1.125 kB / 375.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.366, allocations: 200.9 kB / 375.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3665, allocations: 32.73 kB / 375.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3675, allocations: 0.5881 MB / 375.9 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.3677, allocations: 0.7438 MB / 376.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3678, allocations: 22.64 kB / 376.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.3678, allocations: 16.84 kB / 376.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3678, allocations: 0 / 376.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Templates: time 0.007945/0.3758, allocations: 3.07 MB / 379.8 MB, free: 15.77 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