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.001148/0.001148, allocations: 104.3 kB / 17.59 MB, free: 5.43 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.001181/0.001181, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.355/1.355, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 44.84 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09428, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004049/0.09836, allocations: 2.602 MB / 353.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.09979, allocations: 0.6622 MB / 354 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.1001, allocations: 4 kB / 354 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1003, allocations: 43.58 kB / 354 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1007, allocations: 83.25 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1009, allocations: 75.91 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.1013, allocations: 318.6 kB / 354.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.1016, allocations: 88.94 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1018, allocations: 111.6 kB / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.102, allocations: 127.4 kB / 354.8 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.102, allocations: 28 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.1021, allocations: 24 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1022, allocations: 55.83 kB / 354.9 MB, free: 172 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1023, allocations: 139.3 kB / 355.1 MB, free: 32 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.1026, allocations: 291.2 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1027, allocations: 0 / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1027, allocations: 0 / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1027, allocations: 0 / 355.4 MB, free: 15.75 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.001062/0.1037, allocations: 0.5576 MB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1038, allocations: 8.031 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.1039, allocations: 28.66 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1042, allocations: 260.3 kB / 356.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1042, allocations: 12.94 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.1043, allocations: 28.36 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.1048, allocations: 233.1 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1048, allocations: 0 / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1048, allocations: 8 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1049, allocations: 4 kB / 356.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.1053, allocations: 186.2 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.1069, allocations: 0.9123 MB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.1076, allocations: 210.7 kB / 357.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.108, allocations: 136.1 kB / 357.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.108, allocations: 4 kB / 357.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.108, allocations: 38.56 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1081, allocations: 0 / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001968/0.11, allocations: 0.5498 MB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1101, allocations: 55.41 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1103, allocations: 234.9 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1104, allocations: 33.7 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1105, allocations: 167.8 kB / 359 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1105, allocations: 51.27 kB / 359 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.1106, allocations: 37.7 kB / 359.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1107, allocations: 330.8 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1109, allocations: 68.81 kB / 359.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.1111, allocations: 118 kB / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.1115, allocations: 181.8 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1115, allocations: 0 / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009351/0.1125, allocations: 344.6 kB / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1125, allocations: 4 kB / 360.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1125, allocations: 4 kB / 360.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.1129, allocations: 84.77 kB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1131, allocations: 35.98 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1161, allocations: 2.021 MB / 362.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1163, allocations: 27.81 kB / 362.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1163, allocations: 12.06 kB / 362.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001447/0.1165, allocations: 148.1 kB / 362.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001061/0.1166, allocations: 89.94 kB / 362.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001879/0.1168, allocations: 153.9 kB / 362.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.1168, allocations: 0 / 362.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003461/0.1171, allocations: 225.1 kB / 362.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/0.1172, allocations: 8.188 kB / 362.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.1172, allocations: 0 / 362.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.407e-05/0.1173, allocations: 28.84 kB / 362.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1174, allocations: 43.92 kB / 363 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009416/0.1184, allocations: 1.411 MB / 364.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1185, allocations: 19.88 kB / 364.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1186, allocations: 8 kB / 364.4 MB, free: 6.047 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.0001139/0.1187, allocations: 192.3 kB / 364.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.1187, allocations: 23.72 kB / 364.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1188, allocations: 29.45 kB / 364.6 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1188, allocations: 3.938 kB / 364.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1188, allocations: 0 / 364.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1188, allocations: 0 / 364.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.12, allocations: 0.6201 MB / 365.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.12, allocations: 0 / 365.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1201, allocations: 27.98 kB / 365.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.1204, allocations: 72.8 kB / 365.4 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1204, allocations: 0 / 365.4 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.1229, allocations: 1.935 MB / 367.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.123, allocations: 0 / 367.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.1239, allocations: 439.2 kB / 367.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.124, allocations: 96.94 kB / 367.8 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.124, allocations: 7.938 kB / 367.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1243, allocations: 19.98 kB / 367.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1243, allocations: 7.984 kB / 367.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1243, allocations: 4 kB / 367.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1245, allocations: 168.6 kB / 368 MB, free: 2.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1245, allocations: 4.062 kB / 368 MB, free: 2.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.1251, allocations: 111.7 kB / 368.1 MB, free: 2.066 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.0001354/0.1252, allocations: 107.7 kB / 368.2 MB, free: 1.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.1264, allocations: 0.5405 MB / 368.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.1264, allocations: 4.125 kB / 368.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1267, allocations: 206.6 kB / 369 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1272, allocations: 41.03 kB / 369 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1283, allocations: 0.5335 MB / 369.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1529/0.2812, allocations: 0.7451 MB / 370.3 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.2813, allocations: 17.97 kB / 370.3 MB, free: 24.65 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2813, allocations: 0.5312 kB / 370.3 MB, free: 24.65 MB / 302.1 MB Notification: Performance of Templates: time 0.006926/0.2883, allocations: 3.498 MB / 373.8 MB, free: 24.58 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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches