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/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.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/ModelicaServices trunk/package.mo): time 0.001207/0.001208, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 199.9 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 55.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3249, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004636/0.3296, allocations: 2.951 MB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3313, allocations: 0.7558 MB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.3315, allocations: 11.94 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3317, allocations: 47.5 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.3319, allocations: 95.19 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3323, allocations: 123.8 kB / 413.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.3329, allocations: 422.4 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.3331, allocations: 123.2 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.3334, allocations: 155.4 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3336, allocations: 175.2 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.3337, allocations: 44 kB / 414.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.3338, allocations: 40 kB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.3339, allocations: 83.69 kB / 414.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3341, allocations: 171.2 kB / 414.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.3347, allocations: 450.1 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3347, allocations: 0 / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3347, allocations: 4 kB / 414.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.3347, allocations: 0 / 414.9 MB, free: 11.94 MB / 334.1 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.001283/0.336, allocations: 0.6845 MB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3361, allocations: 12.03 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.3362, allocations: 36.7 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3366, allocations: 307.7 kB / 415.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3367, allocations: 20.94 kB / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.3367, allocations: 24.38 kB / 416 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/0.3375, allocations: 331.9 kB / 416.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3375, allocations: 7.938 kB / 416.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.3375, allocations: 12 kB / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3375, allocations: 4 kB / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.3384, allocations: 286.1 kB / 416.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.3403, allocations: 1.143 MB / 417.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008106/0.3412, allocations: 246.5 kB / 418 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.3415, allocations: 112.8 kB / 418.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.3416, allocations: 3.984 kB / 418.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.3421, allocations: 181.9 kB / 418.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3421, allocations: 3.938 kB / 418.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002322/0.3444, allocations: 0.6669 MB / 418.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.3445, allocations: 106.8 kB / 419 MB, free: 7.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.3448, allocations: 282.6 kB / 419.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3449, allocations: 33.7 kB / 419.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.345, allocations: 196.1 kB / 419.5 MB, free: 7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.3451, allocations: 51.62 kB / 419.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.3452, allocations: 45.94 kB / 419.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3454, allocations: 330.8 kB / 420 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.3458, allocations: 112.6 kB / 420.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.3462, allocations: 204.8 kB / 420.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.3469, allocations: 311.7 kB / 420.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3469, allocations: 4 kB / 420.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001217/0.3481, allocations: 479.7 kB / 421 MB, free: 5.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3482, allocations: 33.7 kB / 421.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3482, allocations: 7.938 kB / 421.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.3486, allocations: 84.86 kB / 421.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3488, allocations: 43.97 kB / 421.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.3516, allocations: 1.99 MB / 423.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.3519, allocations: 59.77 kB / 423.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.352, allocations: 12 kB / 423.3 MB, free: 3 MB / 334.1 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.0001841/0.3522, allocations: 157.8 kB / 423.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3522, allocations: 19.86 kB / 423.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.3523, allocations: 29.83 kB / 423.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3523, allocations: 0 / 423.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3523, allocations: 0 / 423.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.3523, allocations: 7.984 kB / 423.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3526, allocations: 321.3 kB / 423.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3526, allocations: 0 / 423.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.3528, allocations: 23.97 kB / 423.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/0.3531, allocations: 80.81 kB / 423.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3531, allocations: 3.984 kB / 423.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.3555, allocations: 1.813 MB / 425.7 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3555, allocations: 8 kB / 425.7 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3566, allocations: 381.2 kB / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3568, allocations: 100.9 kB / 426.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.3568, allocations: 8 kB / 426.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3571, allocations: 39.95 kB / 426.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.3571, allocations: 15.98 kB / 426.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3572, allocations: 0 / 426.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3574, allocations: 202 kB / 426.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3574, allocations: 0 / 426.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3578, allocations: 83.83 kB / 426.5 MB, free: 15.48 MB / 350.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 (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.000171/0.358, allocations: 114.5 kB / 426.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3591, allocations: 433.8 kB / 427.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3591, allocations: 0 / 427.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.3595, allocations: 235.1 kB / 427.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3599, allocations: 51.38 kB / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.361, allocations: 483.6 kB / 427.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3614, allocations: 0.7558 MB / 428.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3615, allocations: 30.27 kB / 428.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.3616, allocations: 23.44 kB / 428.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3616, allocations: 4 kB / 428.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Templates: time 0.008172/0.3697, allocations: 4.21 MB / 432.8 MB, free: 9.117 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches