Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008498/0.0008497, allocations: 95.95 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009448/0.0009448, allocations: 201.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002225, allocations: 8 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1002, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004732/0.105, allocations: 4.095 MB / 364 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1074, allocations: 1.254 MB / 365.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.108, allocations: 12 kB / 365.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1086, allocations: 115.1 kB / 365.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007323/0.1093, allocations: 166.7 kB / 365.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1099, allocations: 195.7 kB / 365.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.111, allocations: 0.7278 MB / 366.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.1114, allocations: 227.4 kB / 366.7 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.1119, allocations: 254.8 kB / 366.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.1124, allocations: 290.5 kB / 367.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1126, allocations: 35.94 kB / 367.3 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1127, allocations: 40 kB / 367.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1129, allocations: 111.5 kB / 367.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.1133, allocations: 324 kB / 367.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.1138, allocations: 0.5455 MB / 368.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1138, allocations: 0 / 368.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1138, allocations: 0 / 368.3 MB, free: 4.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.1138, allocations: 0 / 368.3 MB, free: 4.867 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001613/0.1155, allocations: 0.8652 MB / 369.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1155, allocations: 8.031 kB / 369.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003559/0.1159, allocations: 96.06 kB / 369.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.1165, allocations: 413.8 kB / 369.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.1165, allocations: 49.62 kB / 369.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.1166, allocations: 56.38 kB / 369.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1177, allocations: 0.5536 MB / 370.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1178, allocations: 7.922 kB / 370.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.1178, allocations: 28 kB / 370.3 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1178, allocations: 12 kB / 370.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/0.1188, allocations: 433 kB / 370.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.1222, allocations: 1.855 MB / 372.6 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1654/0.2876, allocations: 0.5338 MB / 373.2 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.2888, allocations: 423.5 kB / 373.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.2889, allocations: 7.797 kB / 373.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/0.2895, allocations: 306.9 kB / 373.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.126e-06/0.2895, allocations: 0 / 373.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.00453/0.294, allocations: 1.382 MB / 375.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2941, allocations: 238 kB / 375.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.2948, allocations: 450 kB / 375.9 MB, free: 18.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.2948, allocations: 33.91 kB / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.2952, allocations: 318.2 kB / 376.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.2953, allocations: 135.1 kB / 376.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2955, allocations: 45.17 kB / 376.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.2956, allocations: 357.7 kB / 376.8 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.296, allocations: 160.5 kB / 377 MB, free: 17.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.2964, allocations: 330.7 kB / 377.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.2972, allocations: 459.9 kB / 377.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2973, allocations: 0 / 377.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002042/0.2993, allocations: 0.8178 MB / 378.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2994, allocations: 6.141 kB / 378.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2994, allocations: 3.5 kB / 378.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007957/0.3002, allocations: 221.7 kB / 378.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3005, allocations: 82.36 kB / 378.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.3053, allocations: 2.93 MB / 381.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.3058, allocations: 91.19 kB / 381.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3058, allocations: 20.72 kB / 381.9 MB, free: 14.81 MB / 302.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.0002175/0.3061, allocations: 180.2 kB / 382.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.3062, allocations: 53.78 kB / 382.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3063, allocations: 53 kB / 382.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3063, allocations: 6 kB / 382.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3063, allocations: 0 / 382.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3063, allocations: 1.969 kB / 382.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.3088, allocations: 1.324 MB / 383.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3088, allocations: 0 / 383.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.309, allocations: 37 kB / 383.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.3096, allocations: 226 kB / 383.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3096, allocations: 6.938 kB / 383.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.3134, allocations: 2.817 MB / 386.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3135, allocations: 2.25 kB / 386.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.3155, allocations: 0.9796 MB / 387.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3156, allocations: 133.3 kB / 387.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.3157, allocations: 12.08 kB / 387.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3161, allocations: 48.77 kB / 387.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.3162, allocations: 35.7 kB / 387.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3162, allocations: 13.22 kB / 387.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.3165, allocations: 305.6 kB / 388.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3166, allocations: 1.344 kB / 388.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006826/0.3172, allocations: 178.5 kB / 388.3 MB, free: 11.14 MB / 302.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.0001405/0.3174, allocations: 113.2 kB / 388.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.319, allocations: 0.694 MB / 389.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.319, allocations: 0 / 389.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008348/0.3199, allocations: 434.2 kB / 389.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.3205, allocations: 87.03 kB / 389.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3223, allocations: 1.212 MB / 390.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3227, allocations: 0.8729 MB / 391.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3228, allocations: 33.59 kB / 391.7 MB, free: 9 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3228, allocations: 0 / 391.7 MB, free: 9 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.3346, allocations: 8.345 MB / 400.1 MB, free: 4.715 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches