Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 109 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.47 kB / 306.4 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 50.53 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004551/0.1332, allocations: 2.851 MB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1348, allocations: 0.6739 MB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1349, allocations: 8 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.1351, allocations: 31.77 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1353, allocations: 75.38 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1356, allocations: 71.94 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.1361, allocations: 378.5 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.1363, allocations: 126.9 kB / 361.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1366, allocations: 139.5 kB / 361.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1368, allocations: 167.4 kB / 361.5 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.1368, allocations: 32 kB / 361.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.1369, allocations: 36 kB / 361.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.137, allocations: 79.69 kB / 361.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1371, allocations: 163.2 kB / 361.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1375, allocations: 375 kB / 362.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1375, allocations: 3.938 kB / 362.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1375, allocations: 0 / 362.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1375, allocations: 0 / 362.1 MB, free: 8.961 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.001363/0.1389, allocations: 0.6459 MB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001271/0.139, allocations: 12.03 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.1391, allocations: 32.56 kB / 362.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1395, allocations: 276.6 kB / 363.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1395, allocations: 20.94 kB / 363.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.1396, allocations: 28.38 kB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.1404, allocations: 307.6 kB / 363.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1404, allocations: 0 / 363.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.1404, allocations: 11.98 kB / 363.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1404, allocations: 12 kB / 363.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.1412, allocations: 245.5 kB / 363.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1429, allocations: 1.089 MB / 364.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/0.1437, allocations: 214.6 kB / 365 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.144, allocations: 100.8 kB / 365.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.144, allocations: 3.938 kB / 365.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.1446, allocations: 169.8 kB / 365.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1446, allocations: 0 / 365.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001969/0.1466, allocations: 0.5105 MB / 365.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.1467, allocations: 106.8 kB / 365.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.147, allocations: 286.5 kB / 366.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.147, allocations: 33.7 kB / 366.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1472, allocations: 187.6 kB / 366.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1472, allocations: 47.38 kB / 366.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1474, allocations: 53.84 kB / 366.5 MB, free: 4.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1475, allocations: 338.8 kB / 366.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.1479, allocations: 92.16 kB / 366.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.1483, allocations: 202.1 kB / 367.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.1489, allocations: 307.3 kB / 367.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.1489, allocations: 3.938 kB / 367.4 MB, free: 3.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00116/0.1501, allocations: 423.6 kB / 367.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.1502, allocations: 33.7 kB / 367.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1502, allocations: 4 kB / 367.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.1505, allocations: 80.83 kB / 367.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1508, allocations: 43.91 kB / 368 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.1533, allocations: 1.704 MB / 369.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.1537, allocations: 51.66 kB / 369.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1537, allocations: 19.98 kB / 369.8 MB, free: 0.75 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.0001655/0.1539, allocations: 149.7 kB / 369.9 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.154, allocations: 23.72 kB / 369.9 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.1541, allocations: 29.7 kB / 370 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1541, allocations: 0 / 370 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1541, allocations: 0 / 370 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1541, allocations: 4 kB / 370 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1545, allocations: 305.3 kB / 370.3 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1545, allocations: 0 / 370.3 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1546, allocations: 15.98 kB / 370.3 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.1549, allocations: 76.67 kB / 370.4 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1549, allocations: 4 kB / 370.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2374/0.3923, allocations: 1.701 MB / 372.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3923, allocations: 1.734 kB / 372.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3935, allocations: 312.8 kB / 372.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.3937, allocations: 111.6 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.3937, allocations: 6.266 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.394, allocations: 33.81 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3941, allocations: 22.06 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3941, allocations: 2.891 kB / 372.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.3944, allocations: 202.3 kB / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3944, allocations: 0 / 372.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.3948, allocations: 76.91 kB / 372.8 MB, free: 18.63 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.0001572/0.395, allocations: 107.9 kB / 372.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.396, allocations: 422.3 kB / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.396, allocations: 0 / 373.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.3965, allocations: 229.9 kB / 373.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3968, allocations: 46.53 kB / 373.6 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.398, allocations: 0.5501 MB / 374.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3983, allocations: 0.7518 MB / 374.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.3984, allocations: 26.39 kB / 374.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.3985, allocations: 21.58 kB / 374.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3985, allocations: 0.5625 kB / 375 MB, free: 17.23 MB / 302.1 MB Notification: Performance of Templates: time 0.01029/0.4088, allocations: 4.016 MB / 379 MB, free: 17.07 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches