Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 205.2 kB / 18.78 MB, free: 4.254 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.477/1.477, allocations: 230.4 MB / 250 MB, free: 9.07 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.001855/0.001855, allocations: 67.83 kB / 367.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2725, allocations: 53.3 MB / 420.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006284/0.2788, allocations: 4.51 MB / 425.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2814, allocations: 1.281 MB / 426.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.2818, allocations: 15.94 kB / 426.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.2823, allocations: 146.7 kB / 426.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.2829, allocations: 214.2 kB / 426.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.2835, allocations: 215.6 kB / 427.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.2843, allocations: 0.763 MB / 427.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.2847, allocations: 198.6 kB / 428 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.2851, allocations: 294.9 kB / 428.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.2855, allocations: 334.4 kB / 428.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.2856, allocations: 64 kB / 428.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2857, allocations: 68 kB / 428.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2858, allocations: 147.4 kB / 428.9 MB, free: 76 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.2862, allocations: 342.4 kB / 429.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008867/0.287, allocations: 0.7584 MB / 430 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2871, allocations: 0 / 430 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2871, allocations: 4 kB / 430 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.2871, allocations: 3.938 kB / 430 MB, free: 14.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001683/0.2887, allocations: 0.9736 MB / 431 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2888, allocations: 12.03 kB / 431 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.2891, allocations: 96.45 kB / 431.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.2896, allocations: 426.1 kB / 431.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.2897, allocations: 45.67 kB / 431.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.2897, allocations: 52.38 kB / 431.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2908, allocations: 0.5573 MB / 432.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2908, allocations: 0 / 432.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.2908, allocations: 24 kB / 432.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.2908, allocations: 12 kB / 432.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.2917, allocations: 425 kB / 432.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.2948, allocations: 1.825 MB / 434.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.2957, allocations: 0.4931 MB / 434.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.2967, allocations: 421 kB / 435.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2967, allocations: 8.328 kB / 435.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006394/0.2974, allocations: 298.2 kB / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.2974, allocations: 0 / 435.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004139/0.3015, allocations: 1.298 MB / 436.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002426/0.3017, allocations: 243.2 kB / 437.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.3024, allocations: 437.9 kB / 437.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.772e-05/0.3025, allocations: 37.7 kB / 437.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.3028, allocations: 312.8 kB / 437.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.3029, allocations: 150.7 kB / 438.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.3031, allocations: 94.2 kB / 438.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3033, allocations: 358.8 kB / 438.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3036, allocations: 149 kB / 438.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.3042, allocations: 325.5 kB / 439 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008851/0.3051, allocations: 455.4 kB / 439.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3051, allocations: 3.938 kB / 439.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00195/0.307, allocations: 0.7678 MB / 440.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.307, allocations: 4 kB / 440.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.307, allocations: 4.062 kB / 440.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.3078, allocations: 220.6 kB / 440.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3081, allocations: 75.84 kB / 440.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.3133, allocations: 3.145 MB / 443.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.3138, allocations: 83.66 kB / 443.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.3139, allocations: 20 kB / 443.7 MB, free: 0.5625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.3142, allocations: 182.2 kB / 443.9 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.3143, allocations: 51.67 kB / 444 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.3144, allocations: 56.95 kB / 444 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3144, allocations: 7.938 kB / 444 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3144, allocations: 4 kB / 444 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3144, allocations: 0 / 444 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.3169, allocations: 1.274 MB / 445.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3169, allocations: 0 / 445.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3171, allocations: 35.97 kB / 445.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/0.3177, allocations: 212.6 kB / 445.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3178, allocations: 12 kB / 445.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00486/0.3226, allocations: 3.054 MB / 448.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3226, allocations: 4 kB / 448.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3247, allocations: 0.9259 MB / 449.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.3249, allocations: 140.7 kB / 449.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.325, allocations: 4 kB / 449.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.3253, allocations: 43.97 kB / 449.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.3254, allocations: 36.02 kB / 449.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3255, allocations: 8 kB / 449.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004359/0.3259, allocations: 307.1 kB / 450.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 0 / 450.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007775/0.3267, allocations: 191.7 kB / 450.3 MB, free: 9.797 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.3269, allocations: 119.2 kB / 450.4 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.3286, allocations: 0.6537 MB / 451 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3286, allocations: 0 / 451 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007817/0.3294, allocations: 416.9 kB / 451.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.3299, allocations: 84.31 kB / 451.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3317, allocations: 0.9245 MB / 452.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.3322, allocations: 0.8629 MB / 453.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.3324, allocations: 60.52 kB / 453.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.3325, allocations: 31.44 kB / 453.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3325, allocations: 0 / 453.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01578/0.3482, allocations: 7.805 MB / 461.2 MB, free: 14.85 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches