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.001488/0.001487, allocations: 102.8 kB / 16.62 MB, free: 6.812 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.00187/0.00187, allocations: 189.8 kB / 17.55 MB, free: 5.945 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.371/1.371, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009312/0.0009311, allocations: 47.73 kB / 300.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08939, allocations: 49.45 MB / 349.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004401/0.09384, allocations: 2.643 MB / 352.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.09529, allocations: 0.6623 MB / 352.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.09557, allocations: 4 kB / 352.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.09579, allocations: 27.77 kB / 352.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.09614, allocations: 71.45 kB / 353 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.09636, allocations: 71.88 kB / 353.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.09677, allocations: 310.7 kB / 353.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.09699, allocations: 88.95 kB / 353.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.09715, allocations: 119.5 kB / 353.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.09735, allocations: 127.5 kB / 353.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.09741, allocations: 28 kB / 353.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.09746, allocations: 24 kB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.09752, allocations: 51.83 kB / 353.8 MB, free: 440 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.09766, allocations: 131.3 kB / 353.9 MB, free: 308 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.09799, allocations: 291.2 kB / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.098, allocations: 0 / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.09801, allocations: 0 / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.09804, allocations: 0 / 354.2 MB, free: 16 kB / 286.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.001122/0.09917, allocations: 0.5615 MB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.09921, allocations: 8.031 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.09929, allocations: 32.66 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.09959, allocations: 255.7 kB / 355.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.09963, allocations: 20.92 kB / 355.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.09969, allocations: 28.3 kB / 355.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.1001, allocations: 225.2 kB / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1002, allocations: 0 / 355.3 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.1002, allocations: 12 kB / 355.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1002, allocations: 8 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1006, allocations: 190.2 kB / 355.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.1023, allocations: 0.9122 MB / 356.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.1029, allocations: 206.7 kB / 356.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.1033, allocations: 132.7 kB / 356.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1033, allocations: 3.938 kB / 356.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1033, allocations: 34.56 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1033, allocations: 0 / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001791/0.1051, allocations: 0.5576 MB / 357.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1052, allocations: 51.41 kB / 357.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1054, allocations: 231 kB / 357.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1054, allocations: 29.7 kB / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.1055, allocations: 167.8 kB / 357.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1056, allocations: 51.27 kB / 357.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.1057, allocations: 37.7 kB / 357.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1058, allocations: 338.8 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.106, allocations: 68.81 kB / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1062, allocations: 114 kB / 358.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.1066, allocations: 188.8 kB / 358.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1066, allocations: 0 / 358.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000852/0.1074, allocations: 342 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1075, allocations: 6.656 kB / 359 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1075, allocations: 8.031 kB / 359 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.1079, allocations: 72.8 kB / 359 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1081, allocations: 43.92 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.1111, allocations: 2.021 MB / 361.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1113, allocations: 27.75 kB / 361.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1113, allocations: 4 kB / 361.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001543/0.1115, allocations: 144.1 kB / 361.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001062/0.1116, allocations: 97.98 kB / 361.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001828/0.1118, allocations: 160.8 kB / 361.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1118, allocations: 4 kB / 361.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003357/0.1121, allocations: 218.1 kB / 361.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.1121, allocations: 4 kB / 361.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1121, allocations: 0 / 361.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.169e-05/0.1122, allocations: 32.78 kB / 361.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1124, allocations: 36.17 kB / 361.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.1135, allocations: 1.418 MB / 363.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.1136, allocations: 15.84 kB / 363.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1136, allocations: 4 kB / 363.3 MB, free: 6.312 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.0001631/0.1138, allocations: 188.2 kB / 363.4 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1139, allocations: 23.72 kB / 363.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.1139, allocations: 25.52 kB / 363.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1139, allocations: 3.938 kB / 363.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1139, allocations: 0 / 363.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1139, allocations: 4.203 kB / 363.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1151, allocations: 0.6162 MB / 364.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1151, allocations: 0 / 364.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1153, allocations: 31.91 kB / 364.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/0.1155, allocations: 80.8 kB / 364.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1155, allocations: 4 kB / 364.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.1179, allocations: 1.927 MB / 366.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1179, allocations: 0 / 366.2 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.1188, allocations: 435.2 kB / 366.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1188, allocations: 96.94 kB / 366.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.1189, allocations: 7.938 kB / 366.7 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1191, allocations: 24.05 kB / 366.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1191, allocations: 7.984 kB / 366.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1191, allocations: 8 kB / 366.7 MB, free: 2.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1193, allocations: 164.6 kB / 366.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1193, allocations: 0 / 366.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000555/0.1198, allocations: 115.7 kB / 367 MB, free: 2.332 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.0001428/0.12, allocations: 107.1 kB / 367.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1211, allocations: 0.5439 MB / 367.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1211, allocations: 0 / 367.6 MB, free: 1.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.1214, allocations: 199.3 kB / 367.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1218, allocations: 36.78 kB / 367.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1229, allocations: 0.5905 MB / 368.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1232, allocations: 0.7478 MB / 369.2 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.1503/0.2735, allocations: 25.12 kB / 369.2 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.2736, allocations: 15.75 kB / 369.3 MB, free: 24.79 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2736, allocations: 0 / 369.3 MB, free: 24.79 MB / 302.1 MB Notification: Performance of Templates: time 0.007394/0.281, allocations: 3.074 MB / 372.3 MB, free: 24.75 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 -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/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_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