Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.435/1.435, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.001988/0.001988, allocations: 69.83 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09776, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004363/0.1022, allocations: 2.798 MB / 361.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1034, allocations: 0.6777 MB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.1036, allocations: 8 kB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1038, allocations: 51.5 kB / 362 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.104, allocations: 83.25 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1042, allocations: 83.83 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.1047, allocations: 382.5 kB / 362.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.1049, allocations: 122.9 kB / 362.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1051, allocations: 143.5 kB / 362.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1053, allocations: 167.3 kB / 362.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.1054, allocations: 43.94 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1055, allocations: 32 kB / 363 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.1055, allocations: 71.7 kB / 363.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1057, allocations: 163.2 kB / 363.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.1061, allocations: 371 kB / 363.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1061, allocations: 3.938 kB / 363.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1061, allocations: 0 / 363.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1062, allocations: 4 kB / 363.6 MB, free: 8.754 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001347/0.1075, allocations: 0.6498 MB / 364.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1076, allocations: 8.031 kB / 364.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.1076, allocations: 32.56 kB / 364.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.108, allocations: 276.6 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.108, allocations: 24.94 kB / 364.6 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.1081, allocations: 24.36 kB / 364.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.1088, allocations: 299.7 kB / 364.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1088, allocations: 3.938 kB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.1089, allocations: 12 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1089, allocations: 8 kB / 364.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.1098, allocations: 249.6 kB / 365.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.1116, allocations: 1.093 MB / 366.3 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.1124, allocations: 210.6 kB / 366.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.1128, allocations: 88.78 kB / 366.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1128, allocations: 7.938 kB / 366.6 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/0.1134, allocations: 177.2 kB / 366.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1134, allocations: 0 / 366.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002221/0.1156, allocations: 0.5105 MB / 367.2 MB, free: 4.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.1157, allocations: 110.8 kB / 367.4 MB, free: 4.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.116, allocations: 290.5 kB / 367.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1161, allocations: 25.7 kB / 367.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1162, allocations: 195.6 kB / 367.9 MB, free: 4.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.1163, allocations: 39.39 kB / 367.9 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1164, allocations: 57.84 kB / 368 MB, free: 4.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1166, allocations: 330.8 kB / 368.3 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.1169, allocations: 100.1 kB / 368.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.1174, allocations: 199.8 kB / 368.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.1182, allocations: 300.1 kB / 368.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.1182, allocations: 7.938 kB / 368.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001285/0.1195, allocations: 423.7 kB / 369.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/0.1195, allocations: 37.69 kB / 369.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1196, allocations: 4 kB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.1199, allocations: 80.72 kB / 369.4 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1202, allocations: 47.95 kB / 369.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.1228, allocations: 1.711 MB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.1232, allocations: 55.64 kB / 371.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1232, allocations: 8 kB / 371.2 MB, free: 0.5469 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.1234, allocations: 153.7 kB / 371.4 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1234, allocations: 23.72 kB / 371.4 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.1235, allocations: 29.7 kB / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1235, allocations: 0 / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1235, allocations: 0 / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1235, allocations: 0 / 371.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1451/0.2687, allocations: 303 kB / 371.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2687, allocations: 0.7969 kB / 371.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.2689, allocations: 17.09 kB / 371.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/0.2693, allocations: 72.06 kB / 371.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2693, allocations: 2.078 kB / 371.8 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.2713, allocations: 1.699 MB / 373.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2713, allocations: 2.016 kB / 373.5 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2724, allocations: 311.1 kB / 373.8 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2726, allocations: 115.2 kB / 373.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.2726, allocations: 7.125 kB / 373.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.2729, allocations: 35.88 kB / 374 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.273, allocations: 18.34 kB / 374 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.273, allocations: 4.281 kB / 374 MB, free: 19.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.2732, allocations: 204.9 kB / 374.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2732, allocations: 0 / 374.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.2736, allocations: 81.38 kB / 374.3 MB, free: 19.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001147/0.2737, allocations: 104 kB / 374.4 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.2747, allocations: 415 kB / 374.8 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2747, allocations: 0 / 374.8 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.2752, allocations: 228.4 kB / 375 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2755, allocations: 38.73 kB / 375 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.2765, allocations: 489.3 kB / 375.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2766, allocations: 0.7514 MB / 376.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.2767, allocations: 26 kB / 376.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2767, allocations: 0 / 376.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of Templates: time 0.007298/0.284, allocations: 4.416 MB / 380.7 MB, free: 17.4 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches