Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 194 kB / 17.38 MB, free: 4.438 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.6 MB / 244.7 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007235/0.0007235, allocations: 96.17 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002226, allocations: 4 kB / 356.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 51.29 MB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002121/0.2003, allocations: 2.765 MB / 410.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2014, allocations: 0.9418 MB / 411.8 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2016, allocations: 4 kB / 411.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2017, allocations: 48.36 kB / 411.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.202, allocations: 102.2 kB / 411.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.2022, allocations: 115.7 kB / 412 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2025, allocations: 442 kB / 412.4 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2027, allocations: 114.7 kB / 412.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2029, allocations: 159.4 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.203, allocations: 183.2 kB / 412.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2031, allocations: 24 kB / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2032, allocations: 59.97 kB / 413 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.2033, allocations: 71.67 kB / 413 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2034, allocations: 212.8 kB / 413.3 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2036, allocations: 359.9 kB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2036, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2036, allocations: 4 kB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2037, allocations: 0 / 413.6 MB, free: 22.14 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.0009283/0.2046, allocations: 0.682 MB / 414.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2046, allocations: 8.031 kB / 414.3 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2048, allocations: 60.36 kB / 414.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.205, allocations: 303.4 kB / 414.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2051, allocations: 25.03 kB / 414.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.2051, allocations: 40.22 kB / 414.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.2057, allocations: 361.3 kB / 415.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2057, allocations: 0 / 415.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.2058, allocations: 12 kB / 415.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2058, allocations: 8 kB / 415.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.2062, allocations: 246.5 kB / 415.3 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2079, allocations: 1.178 MB / 416.5 MB, free: 19.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.2085, allocations: 295.5 kB / 416.8 MB, free: 18.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.2089, allocations: 218 kB / 417 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.2094, allocations: 1.121 MB / 418.1 MB, free: 17.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2094, allocations: 38.8 kB / 418.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.2094, allocations: 3.938 kB / 418.2 MB, free: 17.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001172/0.2106, allocations: 0.5444 MB / 418.7 MB, free: 16.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.2106, allocations: 81.11 kB / 418.8 MB, free: 16.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.2109, allocations: 336.5 kB / 419.1 MB, free: 16.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2109, allocations: 29.7 kB / 419.2 MB, free: 16.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.211, allocations: 212.1 kB / 419.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.2111, allocations: 102.6 kB / 419.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.2111, allocations: 4 kB / 419.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.2112, allocations: 350.7 kB / 419.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2114, allocations: 112.7 kB / 419.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.2116, allocations: 189.5 kB / 420.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.2121, allocations: 304 kB / 420.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2121, allocations: 0 / 420.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006537/0.2127, allocations: 445.3 kB / 420.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2127, allocations: 4 kB / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2128, allocations: 4 kB / 420.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.213, allocations: 64.81 kB / 420.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.2133, allocations: 79.89 kB / 421 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.2146, allocations: 1.776 MB / 422.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2148, allocations: 39.59 kB / 422.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.2149, allocations: 12 kB / 422.8 MB, free: 12.2 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.0001289/0.215, allocations: 157.8 kB / 423 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.2151, allocations: 43.47 kB / 423 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.2157, allocations: 338.2 kB / 423.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2157, allocations: 4 kB / 423.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.2157, allocations: 4 kB / 423.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2157, allocations: 0 / 423.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.2161, allocations: 389.2 kB / 423.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2161, allocations: 7.984 kB / 423.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.2164, allocations: 63.89 kB / 423.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.2166, allocations: 60.81 kB / 423.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2166, allocations: 8 kB / 423.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002616/0.2169, allocations: 0.6069 MB / 424.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2169, allocations: 0 / 424.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.2176, allocations: 0.5327 MB / 425 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.2177, allocations: 116.7 kB / 425.1 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.2177, allocations: 8 kB / 425.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.218, allocations: 27.97 kB / 425.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.218, allocations: 11.98 kB / 425.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2181, allocations: 11.98 kB / 425.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.2182, allocations: 227.1 kB / 425.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2182, allocations: 4 kB / 425.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.2186, allocations: 111.8 kB / 425.5 MB, free: 9.363 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.000165/0.2188, allocations: 127.2 kB / 425.6 MB, free: 9.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000688/0.2195, allocations: 430.7 kB / 426.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2195, allocations: 0 / 426.1 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.2198, allocations: 144.4 kB / 426.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.2202, allocations: 59.7 kB / 426.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2213, allocations: 1.072 MB / 427.3 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.2214, allocations: 0.7911 MB / 428.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.2215, allocations: 31.42 kB / 428.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2215, allocations: 0 / 428.1 MB, free: 6.648 MB / 298.7 MB Notification: Performance of Templates: time 0.005483/0.227, allocations: 5.356 MB / 433.5 MB, free: 1.309 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches