Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 227.7 MB / 247.7 MB, free: 10.33 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001952, allocations: 63.55 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1061, allocations: 50.55 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004301/0.1104, allocations: 2.614 MB / 361.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1118, allocations: 0.6973 MB / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1119, allocations: 4 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1121, allocations: 43.58 kB / 361.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1124, allocations: 87.25 kB / 361.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1126, allocations: 83.89 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.113, allocations: 314.6 kB / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.1132, allocations: 92.92 kB / 362.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1133, allocations: 111.6 kB / 362.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.1135, allocations: 127.4 kB / 362.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1136, allocations: 24 kB / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.1136, allocations: 28 kB / 362.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1137, allocations: 51.83 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1138, allocations: 139.3 kB / 362.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1142, allocations: 283.2 kB / 363.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1142, allocations: 0 / 363.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1142, allocations: 4 kB / 363.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1142, allocations: 0 / 363.1 MB, free: 9.227 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.00102/0.1152, allocations: 0.5615 MB / 363.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1153, allocations: 8.031 kB / 363.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.1153, allocations: 28.56 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1157, allocations: 251.9 kB / 364 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1157, allocations: 16.94 kB / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1157, allocations: 24.38 kB / 364 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1162, allocations: 229.1 kB / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1162, allocations: 0 / 364.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.1163, allocations: 4 kB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1163, allocations: 8 kB / 364.2 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.1167, allocations: 194.1 kB / 364.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.1183, allocations: 0.8967 MB / 365.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.119, allocations: 218.7 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1194, allocations: 136.6 kB / 365.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1194, allocations: 3.938 kB / 365.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1195, allocations: 38.55 kB / 365.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1195, allocations: 0 / 365.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001939/0.1214, allocations: 0.5499 MB / 366.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1215, allocations: 55.41 kB / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1218, allocations: 227 kB / 366.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.1218, allocations: 37.69 kB / 366.6 MB, free: 5.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1219, allocations: 163.8 kB / 366.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.122, allocations: 51.2 kB / 366.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.1221, allocations: 41.7 kB / 366.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1222, allocations: 334.8 kB / 367.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.1224, allocations: 64.83 kB / 367.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.1227, allocations: 122 kB / 367.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.123, allocations: 176.3 kB / 367.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1231, allocations: 4 kB / 367.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009147/0.124, allocations: 344.5 kB / 367.9 MB, free: 4.176 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.124, allocations: 4 kB / 367.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.124, allocations: 4.031 kB / 367.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003882/0.1244, allocations: 84.73 kB / 367.9 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.1246, allocations: 35.98 kB / 368 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.1279, allocations: 2.017 MB / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1281, allocations: 19.75 kB / 370 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1281, allocations: 15.98 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001826/0.1283, allocations: 148 kB / 370.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001204/0.1284, allocations: 93.98 kB / 370.3 MB, free: 1.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002044/0.1286, allocations: 146.1 kB / 370.4 MB, free: 1.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.1286, allocations: 3.984 kB / 370.4 MB, free: 1.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003672/0.129, allocations: 221.3 kB / 370.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.129, allocations: 8 kB / 370.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1291, allocations: 4 kB / 370.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.72e-05/0.1291, allocations: 24.84 kB / 370.7 MB, free: 1.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.1293, allocations: 51.91 kB / 370.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1722/0.3016, allocations: 1.408 MB / 372.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3018, allocations: 18.27 kB / 372.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3018, allocations: 7.016 kB / 372.1 MB, free: 18.77 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.0001146/0.302, allocations: 190.5 kB / 372.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.302, allocations: 22.58 kB / 372.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.3021, allocations: 26.86 kB / 372.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3021, allocations: 5.312 kB / 372.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3021, allocations: 0.7188 kB / 372.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3021, allocations: 2.625 kB / 372.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3033, allocations: 0.627 MB / 373 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3033, allocations: 0 / 373 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3035, allocations: 27.28 kB / 373 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.3038, allocations: 75.84 kB / 373.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3038, allocations: 5.141 kB / 373.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.3061, allocations: 1.924 MB / 375 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3061, allocations: 0 / 375 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009395/0.3071, allocations: 442.7 kB / 375.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3071, allocations: 94.23 kB / 375.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3072, allocations: 4.5 kB / 375.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3074, allocations: 17.41 kB / 375.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3074, allocations: 15.2 kB / 375.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3074, allocations: 4.312 kB / 375.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.3076, allocations: 163.8 kB / 375.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 0 / 375.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005873/0.3082, allocations: 116.5 kB / 375.9 MB, free: 16.48 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.0001239/0.3083, allocations: 110.8 kB / 376 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.3095, allocations: 0.5439 MB / 376.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3096, allocations: 0 / 376.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.3099, allocations: 204.8 kB / 376.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.3104, allocations: 32.28 kB / 376.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3114, allocations: 0.5357 MB / 377.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.3116, allocations: 0.7467 MB / 378.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3116, allocations: 17.69 kB / 378.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3116, allocations: 0 / 378.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Templates: time 0.006322/0.318, allocations: 3.506 MB / 381.6 MB, free: 14.85 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches