Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 175.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007395, allocations: 90.36 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003559, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2956, allocations: 47.57 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003078/0.2987, allocations: 2.708 MB / 377.8 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3004, allocations: 0.9466 MB / 378.7 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3006, allocations: 3.562 kB / 378.7 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.3007, allocations: 48.55 kB / 378.8 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.3011, allocations: 115 kB / 378.9 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3014, allocations: 101.1 kB / 379 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.3019, allocations: 450.7 kB / 379.4 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3021, allocations: 117.7 kB / 379.6 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.3024, allocations: 159.2 kB / 379.7 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.3026, allocations: 182.9 kB / 379.9 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.3027, allocations: 20.44 kB / 379.9 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.3029, allocations: 49.75 kB / 380 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.3029, allocations: 75.39 kB / 380 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.3031, allocations: 206.5 kB / 380.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.3034, allocations: 362.6 kB / 380.6 MB, free: 41.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3035, allocations: 9 kB / 380.6 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3035, allocations: 0 / 380.6 MB, free: 41.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3035, allocations: 0 / 380.6 MB, free: 41.21 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001176/0.3047, allocations: 0.6752 MB / 381.3 MB, free: 40.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3047, allocations: 9.188 kB / 381.3 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.3048, allocations: 46.75 kB / 381.3 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.3051, allocations: 307.3 kB / 381.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3052, allocations: 26.75 kB / 381.7 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.3053, allocations: 38.78 kB / 381.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.3059, allocations: 351.7 kB / 382 MB, free: 40.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3059, allocations: 0 / 382 MB, free: 40.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.306, allocations: 18.97 kB / 382.1 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.306, allocations: 7.906 kB / 382.1 MB, free: 40.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3065, allocations: 237.6 kB / 382.3 MB, free: 39.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.3083, allocations: 1.198 MB / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.309, allocations: 292.2 kB / 383.8 MB, free: 38.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.3094, allocations: 215.3 kB / 384 MB, free: 38.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.31, allocations: 1.124 MB / 385.1 MB, free: 37.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.31, allocations: 37.75 kB / 385.1 MB, free: 37.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.31, allocations: 0 / 385.1 MB, free: 37.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001424/0.3115, allocations: 0.5477 MB / 385.7 MB, free: 37.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3115, allocations: 80.23 kB / 385.8 MB, free: 36.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.3119, allocations: 337.4 kB / 386.1 MB, free: 36.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.312, allocations: 32.73 kB / 386.1 MB, free: 36.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3121, allocations: 218.7 kB / 386.3 MB, free: 36.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.3122, allocations: 94.67 kB / 386.4 MB, free: 36.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.3122, allocations: 10.56 kB / 386.5 MB, free: 36.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.3123, allocations: 350.4 kB / 386.8 MB, free: 36.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3125, allocations: 107.7 kB / 386.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3128, allocations: 194.8 kB / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.3134, allocations: 307.3 kB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3134, allocations: 1 kB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000778/0.3142, allocations: 445.1 kB / 387.8 MB, free: 35.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3142, allocations: 8 kB / 387.8 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3142, allocations: 0 / 387.8 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.3145, allocations: 68.81 kB / 387.9 MB, free: 35.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3148, allocations: 79.89 kB / 388 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3163, allocations: 1.76 MB / 389.7 MB, free: 33.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3166, allocations: 39.7 kB / 389.8 MB, free: 33.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3166, allocations: 20.06 kB / 389.8 MB, free: 33.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.3168, allocations: 145.8 kB / 389.9 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.3169, allocations: 39.47 kB / 390 MB, free: 33.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.3175, allocations: 346.2 kB / 390.3 MB, free: 32.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3176, allocations: 8 kB / 390.3 MB, free: 32.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3176, allocations: 3.984 kB / 390.3 MB, free: 32.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3176, allocations: 3.984 kB / 390.3 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.318, allocations: 397.1 kB / 390.7 MB, free: 32.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.318, allocations: 0 / 390.7 MB, free: 32.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.3183, allocations: 71.89 kB / 390.8 MB, free: 32.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.3185, allocations: 56.88 kB / 390.8 MB, free: 32.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3185, allocations: 8 kB / 390.9 MB, free: 32.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002986/0.3188, allocations: 0.6032 MB / 391.5 MB, free: 31.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3189, allocations: 8 kB / 391.5 MB, free: 31.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.3196, allocations: 0.5365 MB / 392 MB, free: 30.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3198, allocations: 132.7 kB / 392.1 MB, free: 30.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3198, allocations: 4 kB / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3201, allocations: 23.98 kB / 392.2 MB, free: 30.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.3201, allocations: 19.97 kB / 392.2 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3202, allocations: 15.94 kB / 392.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.3204, allocations: 235.2 kB / 392.4 MB, free: 30.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3204, allocations: 0 / 392.4 MB, free: 30.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.3208, allocations: 111.8 kB / 392.5 MB, free: 30.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002063/0.321, allocations: 123.2 kB / 392.7 MB, free: 30.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007727/0.3218, allocations: 430.5 kB / 393.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3218, allocations: 0.5 kB / 393.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3221, allocations: 147.9 kB / 393.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.3226, allocations: 41.36 kB / 393.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3238, allocations: 1.076 MB / 394.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.324, allocations: 0.8028 MB / 395.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.3241, allocations: 27.42 kB / 395.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3241, allocations: 0 / 395.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of Templates: time 0.006287/0.3304, allocations: 5.364 MB / 400.5 MB, free: 22.32 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches