Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001291, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 97.47 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009226/0.0009226, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2382, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00355/0.2418, allocations: 2.985 MB / 410.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2431, allocations: 0.7586 MB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2432, allocations: 4 kB / 410.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2434, allocations: 35.7 kB / 410.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2436, allocations: 87.36 kB / 410.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.2439, allocations: 103.9 kB / 411 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.2442, allocations: 398.4 kB / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.2444, allocations: 111.8 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.2446, allocations: 135.4 kB / 411.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2448, allocations: 159.2 kB / 411.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.2448, allocations: 20 kB / 411.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.2449, allocations: 24 kB / 411.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.2449, allocations: 67.69 kB / 411.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2451, allocations: 159.2 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2454, allocations: 428.1 kB / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2454, allocations: 0 / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2454, allocations: 0 / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2454, allocations: 3.938 kB / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001429/0.2469, allocations: 0.677 MB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.2469, allocations: 8.875 kB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.247, allocations: 36.56 kB / 413.2 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2474, allocations: 299.5 kB / 413.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2474, allocations: 24.88 kB / 413.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.2475, allocations: 28.38 kB / 413.6 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.2481, allocations: 331.9 kB / 413.9 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2481, allocations: 0 / 413.9 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2482, allocations: 12 kB / 413.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2482, allocations: 4 kB / 413.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.2489, allocations: 286.1 kB / 414.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.2506, allocations: 1.154 MB / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.2514, allocations: 250.5 kB / 415.6 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.2517, allocations: 108.8 kB / 415.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2517, allocations: 4 kB / 415.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.2522, allocations: 177.9 kB / 415.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.2522, allocations: 0 / 415.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002085/0.2543, allocations: 0.6643 MB / 416.5 MB, free: 18.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2544, allocations: 114.7 kB / 416.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.2546, allocations: 286.6 kB / 416.9 MB, free: 17.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2546, allocations: 29.7 kB / 417 MB, free: 17.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.2547, allocations: 195.7 kB / 417.2 MB, free: 17.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.2548, allocations: 43.39 kB / 417.2 MB, free: 17.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.2548, allocations: 53.84 kB / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.2549, allocations: 334.8 kB / 417.6 MB, free: 17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.2552, allocations: 104.4 kB / 417.7 MB, free: 16.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.2556, allocations: 204.9 kB / 417.9 MB, free: 16.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.2562, allocations: 314.4 kB / 418.2 MB, free: 16.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2562, allocations: 224 / 418.2 MB, free: 16.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001081/0.2573, allocations: 471.6 kB / 418.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.2573, allocations: 37.64 kB / 418.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2573, allocations: 0 / 418.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/0.2577, allocations: 96.8 kB / 418.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2579, allocations: 47.95 kB / 418.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.26, allocations: 1.791 MB / 420.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.2603, allocations: 55.64 kB / 420.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.2604, allocations: 8 kB / 420.7 MB, free: 13.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.2605, allocations: 164.7 kB / 420.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.2605, allocations: 19.81 kB / 420.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.2606, allocations: 29.88 kB / 420.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2606, allocations: 3.984 kB / 420.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2606, allocations: 0 / 420.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2606, allocations: 0 / 420.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.2608, allocations: 333.2 kB / 421.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2608, allocations: 0 / 421.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.261, allocations: 28.09 kB / 421.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.2612, allocations: 80.81 kB / 421.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2613, allocations: 3.984 kB / 421.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.263, allocations: 1.671 MB / 423 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.263, allocations: 3.984 kB / 423 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.2644, allocations: 1.061 MB / 424.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2645, allocations: 104.8 kB / 424.2 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.2645, allocations: 4 kB / 424.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2648, allocations: 27.97 kB / 424.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.2648, allocations: 19.97 kB / 424.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2649, allocations: 4 kB / 424.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.265, allocations: 210 kB / 424.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.265, allocations: 0 / 424.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.2655, allocations: 79.69 kB / 424.5 MB, free: 9.562 MB / 298.7 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.2656, allocations: 103.2 kB / 424.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.2666, allocations: 433.9 kB / 425 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2666, allocations: 0 / 425 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.267, allocations: 235 kB / 425.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.2673, allocations: 48.47 kB / 425.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.2683, allocations: 0.7179 MB / 426 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.2685, allocations: 0.7599 MB / 426.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.2686, allocations: 30.27 kB / 426.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.2686, allocations: 19.44 kB / 426.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2687, allocations: 0 / 426.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of Templates: time 0.006202/0.2749, allocations: 3.964 MB / 430.8 MB, free: 3.203 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches